Elastic Search 2.2 remote access issue

I am unable to access Elastic search 2.2 installed on my inhouse server with Centos 7.

I am able to access through local host.

Please help.

By default ES will only bind to localhost, you can change this by setting network.host in elasticsearch.yml, for example:

network.host: 0.0.0.0

Make sure that you have secured your Elasticsearch instance first!

Appreciated you reply

We have already tried this but did not work

elasticsearch.yml

network.host: 192.168.0.1/24

Muthyam Reddy writes:

We have already tried this but did not work

elasticsearch.yml

network.host: 192.168.0.1/24

That is an illegal value for network.host, you would want to set it to
something like network.host: 192.168.0.4 (an actual IP, not a CIDR
mask).

Any iptables maybe ?

We fixed the issue thank you

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