# Setting Transport and HTTP to different networks

**URL:** <https://discuss.elastic.co/t/setting-transport-and-http-to-different-networks/3955>\
**Category:** Elasticsearch\
**Created:** [February 21, 2011, 5:16pm UTC](https://discuss.elastic.co/t/setting-transport-and-http-to-different-networks/3955 "2011-02-21T17:16:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sorostaran](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@Sorostaran](https://discuss.elastic.co/u/Sorostaran)\
**Post date:** [February 21, 2011, 5:16pm UTC](https://discuss.elastic.co/t/setting-transport-and-http-to-different-networks/3955/1 "2011-02-21T17:16:05Z")

</div>

How do I "explicitly override" the shared network settings as hinted in the network module docs to put different TCP components on different networks?

Do I just, for example, set different transport.network.bind\_host/publish\_host and http.network.bind\_host/publish\_host etc. or transport.bind\_host/publish\_host and http.network.bind\_host/publish\_host etc. instead of setting them under the shared network module?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [February 21, 2011, 5:46pm UTC](https://discuss.elastic.co/t/setting-transport-and-http-to-different-networks/3955/2 "2011-02-21T17:46:18Z")

</div>

Heya,

There isn't a simplistic pure "http"/"transport" prefix setting for that (I will add it), but you can explicitly set it for netty (the default networking library elasticsearch uses):

transport.netty.bind\_host  
transport.netty.publish\_host

http.netty.bind\_host  
http.netty.publish\_host

-shay.banon  
On Monday, February 21, 2011 at 7:16 PM, Sorostaran wrote:

> How do I "explicitly override" the shared network settings as hinted in the  
> network module docs to put different TCP components on different networks?
> 
> ## Do I just, for example, set different transport.network.bind\_host/publish\_host and http.network.bind\_host/publish\_host etc. or transport.bind\_host/publish\_host and http.network.bind\_host/publish\_host etc. instead of setting them under the shared network module?
> 
> View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/Setting-Transport-and-HTTP-to-different-networks-tp2546637p2546637.html](http://elasticsearch-users.115913.n3.nabble.com/Setting-Transport-and-HTTP-to-different-networks-tp2546637p2546637.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [February 21, 2011, 5:52pm UTC](https://discuss.elastic.co/t/setting-transport-and-http-to-different-networks/3955/3 "2011-02-21T17:52:04Z")

</div>

ok, pushed the simplified settings: [Add `http` and `transport` simplified host settings · Issue #706 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/706). You can do this now with the explicit netty settings.  
On Monday, February 21, 2011 at 7:46 PM, Shay Banon wrote:

> Heya,
> 
> There isn't a simplistic pure "http"/"transport" prefix setting for that (I will add it), but you can explicitly set it for netty (the default networking library elasticsearch uses):
> 
> transport.netty.bind\_host  
> transport.netty.publish\_host
> 
> http.netty.bind\_host  
> http.netty.publish\_host
> 
> -shay.banon  
> On Monday, February 21, 2011 at 7:16 PM, Sorostaran wrote:
> 
> > How do I "explicitly override" the shared network settings as hinted in the  
> > network module docs to put different TCP components on different networks?
> > 
> > ## Do I just, for example, set different transport.network.bind\_host/publish\_host and http.network.bind\_host/publish\_host etc. or transport.bind\_host/publish\_host and http.network.bind\_host/publish\_host etc. instead of setting them under the shared network module?
> > 
> > View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/Setting-Transport-and-HTTP-to-different-networks-tp2546637p2546637.html](http://elasticsearch-users.115913.n3.nabble.com/Setting-Transport-and-HTTP-to-different-networks-tp2546637p2546637.html)  
> > Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<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 6, 2017, 4:11am UTC](https://discuss.elastic.co/t/setting-transport-and-http-to-different-networks/3955/4 "2017-07-06T04:11:46Z")

</div>

Closed on July 6, 2017, 4:11am UTC


