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

**URL:** <https://discuss.elastic.co/t/elasticsearch-yml-changes-needed-going-from-1-x-to-5-0-on-azure-vm/67227>\
**Category:** Elasticsearch\
**Created:** [November 25, 2016, 11:20pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-changes-needed-going-from-1-x-to-5-0-on-azure-vm/67227 "2016-11-25T23:20:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jbrar](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@Jbrar](https://discuss.elastic.co/u/Jbrar)\
**Post date:** [November 25, 2016, 11:20pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-changes-needed-going-from-1-x-to-5-0-on-azure-vm/67227/1 "2016-11-25T23:20:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 25, 2016, 11:53pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-changes-needed-going-from-1-x-to-5-0-on-azure-vm/67227/2 "2016-11-25T23:53:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 23, 2016, 11:53pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-changes-needed-going-from-1-x-to-5-0-on-azure-vm/67227/3 "2016-12-23T23:53:42Z")

</div>

Closed on December 23, 2016, 11:53pm UTC

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