ElasticSearch not connecting to local IP address


(Ratnakar Sadasyula) #1

Hi

I am using ElasticSearch 5.5.x, now when I don't make changes in elasticsearch.yml and start it. It runs fine.

And I am able to access using curl http://localhost:9200 with no issue

However if I change network.host to ipaddress of my local machine, it is not able to start and connect.

IP Address of my linux instance is 10.193.164.191

And in elasticsearch.yml

I set network.host to 10.193.164,191, and I start the elasticsearch, shows failed status.

This is the entry

network.host: 10.193.164.191

now if I try accessing using

curl http://10.193.164.191 :9200 it gives an error, not able to connect.

What is the issue


(Christian Dahlqvist) #2

Check the Elasticsearch logs. It could be that you have some bootstrap checks that are failing.


(system) #3

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