After that I am getting connection issues from client machine (Indexer in my case).
I haven't changed any Elasticsearch.yml configuration. I checked with IT team, there is no FW or any network issue.
It happened only when I upgraded ES version.
Hi,
When I set network.host: non_loopback it works. I can access it too form indexer.
But when I set it to some IP address of indexer, then it shows above exception.
The node will bind to this hostname or IP address and publish (advertise) this host to other nodes in the cluster. Accepts an IP address, hostname, a special value, or an array of any combination of these.
So here you have to set the IP of the machine elasticsearch is running on.
OK.
But my problem is, If I dont sent this value and keep this at it is, I am not able to access ES from other machine which was possible in previous version.
That means curl http://ES-host:9200 is not possible from indexer-host, which is the host where logstash is running.
it works only when I set network.host: nonloopback_
How to allow ES to be acessed form other host? is it only loopback setting?
That was the case with 1.5 with default settings.
The difference is that now you are aware of it because you explicitly set it.
For sure, it's a bad idea to open that on internet without any security layer.
Where is your cluster running? In cloud?
What are the other machines which can have an access to it? Machines running in the same network?
My cluster is running in our environment, not in cloud.[quote="dadoonet, post:13, topic:56073"]
What are the other machines which can have an access to it? Machines running in the same network?
[/quote]
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.