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

When I am running this command curl -XGET '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

Welcome to our community! :smiley:

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.

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

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.