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