# Problem validating JSON document against schema

**URL:** <https://discuss.elastic.co/t/problem-validating-json-document-against-schema/156701>\
**Category:** APM\
**Created:** [November 14, 2018, 3:45pm UTC](https://discuss.elastic.co/t/problem-validating-json-document-against-schema/156701 "2018-11-14T15:45:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebasd44](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@sebasd44](https://discuss.elastic.co/u/sebasd44)\
**Post date:** [November 14, 2018, 3:45pm UTC](https://discuss.elastic.co/t/problem-validating-json-document-against-schema/156701/1 "2018-11-14T15:45:33Z")

</div>

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/](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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 5, 2018, 11:45am UTC](https://discuss.elastic.co/t/problem-validating-json-document-against-schema/156701/2 "2018-12-05T11:45:43Z")

</div>

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