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