if __name__ == "__main__": app.run(host='0.0.0.0') code example
Example: if __name__ == '__main__': app.run(debug=True) not running
if __name__=='__main__':
app.run(debug=DEBUG, host=HOST, port=PORT)
if __name__=='__main__':
app.run(debug=DEBUG, host=HOST, port=PORT)