How can i connect to my elasticsearch cluster from another machine?

Hi,

I want to connect my elasticsearch cluster from another machine i went through some documentation where they had mentioned that i had change thenetwork.bind_host : 0 .But i didn't find the network.bind_host in my elasticsearch.yml . I got only network.host Even i tried it by giving as
network.host :0 but i cant able to connect from another machine. And i also tried removing ## before network.host :0 which throws an error when starting elasticsearch cluster.

When i am connecting from another machine i have to give http://clustermachingip:9200 right?
Can anyone please help on this problem?

Thanks..

Beware of spaces.

Read: https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html#network.host

Thanks..for your suggestion..
That means you are saying that by giving network.host :0 in Elasticsearch.yml i can able to connect from remote machines .

Is the above command for connecting to Elasticsearch cluster from remote machine is correct?
Correct me if i am wrong..

Thanks

Something like:

network.host: 0.0.0.0

Should work. But look at your logs. It will tell you why it can't start in case you are missing some important configuration settings.

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