ElasticSearch.YML changes needed going from 1.x to 5.0 on Azure VM

I've recently started the process of upgrading an ElasticSearch cluster from 1.x to 5.0. The cluster is hosted on different Azure VMs.

In upgrading the nodes I've had to make some changes to the ElasticSearch.YML file. Two changes in particular are the need to set the network.bind_host to 0.0.0.0 and network.publish_host to the node's ip.

network.bind_host: "0.0.0.0"
network.publish_host: IP_ADDRESS_OF_NODE

I find without these changes I can't connect to the VM remotely and Nodes can't find one another.

At a high level can anyone explain what these changes mean and why they are needed? The binding to host 0.0.0.0 in particularly has me more than a little confused. Thanks in advance for any help.

Have a look at https://www.elastic.co/guide/en/elasticsearch/reference/5.0/important-settings.html#network.host

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