Elasticsearch working fine with localhost but not able to connect over Browser by using IP address

Generally in Elasticsearch  people face this issue when trying to access elasticsearch related url from browser by using IP address  while everything working fine with localhost.

Suppose your System IP is and trying to run below query in browser.You will get below screen on different browsers


IE Not connected
IE Browser


Chrome Not Connected
Chrome Browser


Go to command prompt and use below command to get ipv4 address as mentioned in below screen.

Window  :





Update Your IPV4 address in config/elasticsearch.yml file for property


if  your IP is static IP then you can update same as above or if it’s dynamic then update it as below.


For testing above configuration restart your eleasticsearch and try in elasticsearch on your browser address bar after updating server ip. You will get result like below.


or as below if network.host configured


Issues Solution

For more Elasticsearch issues solution follow link Common Elasticsearch Issues.


Integrate Filebeat, Kafka, Logstash, Elasticsearch and Kibana

2 thoughts on “Elasticsearch working fine with localhost but not able to connect over Browser by using IP address”

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s