Issue
I've install ES on my VM which it has an OS of centos 7
. It network.host: bind to the localhost. I can browse via port 9200.
My problem is that I've changed the network host to:0.0.0.0
(So I can get public access from my host PC).
the service started but the port is not listening.
I want to access ES from my host PC.
How can i change the network.host ?
Solution
Looking at the Elasticsearch Network Settings documentation, it doesn't appear that 0.0.0.0
is a valid setting for network.host
.
Try instead the special value _global_
. So the section of your elasticsearch.yaml
might look like this:
network: host: _global_
This should tell Elasticsearch to listen on all network interfaces.
Answered By - orangejulius