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