Problem validating JSON document against schema


(sebastian) #1

hi all i have the same problem, but when i start the app it runs it in the loopback

env FLASK_APP=hello.py ELASTIC_APM_SERVICE_NAME=hello flask run

http://127.0.0.1:5000/

but i want to run it like this 0.0.0.0

if name == " main ":
app.run(host='0.0.0.0', port= 5000)

that is how i got in the hello,py file that i have
how can i run this command with the 0.0.0.0 instead of the 127.0.0.1??

env FLASK_APP=hello.py ELASTIC_APM_SERVICE_NAME=hello flask run


(system) #2

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.