Creating node in elasticsearch

(Aniket) #1

I have just install elasticsearch 5.0.0. When I run 'localhost:9200/_cat/nodes?v' it gives me ip as But I want local host as a server. Where should I configure it ?


Did you make any changes in elasticsearch.yml regarding options mentioned in ?

(Aniket) #3

Yes I have made two changes. elastic_test localhost

Should I make any other change ?


Try to leave out the option. As is stated in the docs:

Elasticsearch binds to localhost only by default

So if you do not fiddle with these settings, it should listen only on loopback interfaces.

(system) #5

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