change default port for python code example Example: flask give port number if __name__ == '__main__': app.run(host='0.0.0.0', port=80)