set local host flask app code example Example: python3.6 app run host if __name__ == '__main__': app.run(host='0.0.0.0')