how to specify the port flask code example Example: flask give port number if __name__ == '__main__': app.run(host='0.0.0.0', port=80)