# Curl -X GET http://localhost:9200 is working BUT not http//127.0.0.1:9200

**URL:** <https://discuss.elastic.co/t/curl-x-get-http-localhost-9200-is-working-but-not-http-127-0-0-1-9200/199758>\
**Category:** Elasticsearch\
**Created:** [September 17, 2019, 5:35am UTC](https://discuss.elastic.co/t/curl-x-get-http-localhost-9200-is-working-but-not-http-127-0-0-1-9200/199758 "2019-09-17T05:35:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 17, 2019, 5:39am UTC](https://discuss.elastic.co/t/curl-x-get-http-localhost-9200-is-working-but-not-http-127-0-0-1-9200/199758/2 "2019-09-17T05:39:27Z")

</div>

To use `network.host : 0.0.0.0` requires additional settings perhaps take a look at [this post](https://discuss.elastic.co/t/n00b-trying-to-set-up-on-windows/197514/4)

---

_[View the full topic](https://discuss.elastic.co/t/curl-x-get-http-localhost-9200-is-working-but-not-http-127-0-0-1-9200/199758)._
