# Network.host\_publish and network.bind ambiguity

**URL:** <https://discuss.elastic.co/t/network-host-publish-and-network-bind-ambiguity/56308>\
**Category:** Elasticsearch\
**Created:** [July 25, 2016, 3:20pm UTC](https://discuss.elastic.co/t/network-host-publish-and-network-bind-ambiguity/56308 "2016-07-25T15:20:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![userguy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/userguy/32/6224_2.png) [@userguy](https://discuss.elastic.co/u/userguy)\
**Post date:** [July 25, 2016, 3:20pm UTC](https://discuss.elastic.co/t/network-host-publish-and-network-bind-ambiguity/56308/1 "2016-07-25T15:20:43Z")

</div>

Hello Team ,

I have two network interface - Once management and One Data ip .. where i want cluster communication to be on 9300 i.e on DATA ip and management aka 9200 on management ip . both the ip are on different vlan .  
management is -- eth0 data -- bond0  
Only management interface is reachable from outside network .. I tried many combinations but either it takes bondo ip or eth0 both both not as different

i tried doin this network.bind\_host: _eth0:ipv4_  
and network.publish\_host: _bond0:ipv4_  
and in /etc/hosts the hostname for unicast resolved to bond0 ( 20GB interface )

---

<div class="post-metadata">

**Author:** ![jpcarey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpcarey/32/46668_2.png) [@jpcarey](https://discuss.elastic.co/u/jpcarey)\
**Post date:** [July 25, 2016, 5:58pm UTC](https://discuss.elastic.co/t/network-host-publish-and-network-bind-ambiguity/56308/2 "2016-07-25T17:58:08Z")

</div>

I think you are looking for the `http.host` setting/s, [https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html#modules-http](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html#modules-http)

---

<div class="post-metadata">

**Author:** ![userguy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/userguy/32/6224_2.png) [@userguy](https://discuss.elastic.co/u/userguy)\
**Post date:** [July 25, 2016, 6:29pm UTC](https://discuss.elastic.co/t/network-host-publish-and-network-bind-ambiguity/56308/3 "2016-07-25T18:29:16Z")

</div>

Thanks.. I will check this but still can u help me to understand then what is difference between publish and bind host and network. Host.....  
Also one more question the client request will be a search request which will be a http request does it means that all the query to cluster is handeled by master node including indexing and search and update.. in the document of http u have shared they have suggested to disable http port. How will this benefit and how will it impact cluster

---

<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:** [July 5, 2017, 10:33pm UTC](https://discuss.elastic.co/t/network-host-publish-and-network-bind-ambiguity/56308/4 "2017-07-05T22:33:06Z")

</div>


