flask app ip and port direct code example Example: flask run on ip and port app.run(host='0.0.0.0', port=80)