# Curl -XGET 'http://127.0.0.1:9200'

**URL:** <https://discuss.elastic.co/t/curl-xget-http-127-0-0-1-9200/285645>\
**Category:** Elasticsearch\
**Created:** [October 1, 2021, 3:41am UTC](https://discuss.elastic.co/t/curl-xget-http-127-0-0-1-9200/285645 "2021-10-01T03:41:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandy12](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@sandy12](https://discuss.elastic.co/u/sandy12)\
**Post date:** [October 1, 2021, 3:41am UTC](https://discuss.elastic.co/t/curl-xget-http-127-0-0-1-9200/285645/1 "2021-10-01T03:41:17Z")

</div>

When I am running this command **curl -XGET '[http://127.0.0.1:9200](http://127.0.0.1:9200)'**  
getting below error

Request on loopback from external IP
# Request on loopback from external IP

* * *
**Description: Your request is prohibited because the request is on loopback from external IP.**
* * *

Please help to resolve this error

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 1, 2021, 4:47am UTC](https://discuss.elastic.co/t/curl-xget-http-127-0-0-1-9200/285645/2 "2021-10-01T04:47:43Z")

</div>

Welcome to our community! 😃

It sounds like you have a firewall or proxy in use that is stopping interaction. I don't think that's anything we can help with sorry to say.

---

<div class="post-metadata">

**Author:** ![sandy12](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@sandy12](https://discuss.elastic.co/u/sandy12)\
**Post date:** [October 2, 2021, 12:07pm UTC](https://discuss.elastic.co/t/curl-xget-http-127-0-0-1-9200/285645/3 "2021-10-02T12:07:46Z")

</div>

Yeah, proxy is enabled. Firewall is not enabled.  
The what I need to do to resolve this?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 2, 2021, 12:27pm UTC](https://discuss.elastic.co/t/curl-xget-http-127-0-0-1-9200/285645/4 "2021-10-02T12:27:40Z")

</div>

You need to tell curl how to use the proxy. See curl documentation for this.

Or configure your proxy to exclude 127.0.0.1

Or use Kibana and its dev console.

---

<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:** [October 30, 2021, 12:27pm UTC](https://discuss.elastic.co/t/curl-xget-http-127-0-0-1-9200/285645/5 "2021-10-30T12:27:52Z")

</div>

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