# BindTransportException

**URL:** <https://discuss.elastic.co/t/bindtransportexception/27397>\
**Category:** Elasticsearch\
**Created:** [August 14, 2015, 1:18pm UTC](https://discuss.elastic.co/t/bindtransportexception/27397 "2015-08-14T13:18:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashok](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Ashok](https://discuss.elastic.co/u/Ashok)\
**Post date:** [August 14, 2015, 1:18pm UTC](https://discuss.elastic.co/t/bindtransportexception/27397/1 "2015-08-14T13:18:50Z")

</div>

Hi,  
I am getting following exception while running elasticsearch.yml.

_BindTransportException[Failed to bind to [9495]]_  
_ChannelException[Failed to bind to: my\_IP:9495]_  
_BindException[Cannot assign requested address: bind]_

---

<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:** [August 15, 2015, 9:34am UTC](https://discuss.elastic.co/t/bindtransportexception/27397/2 "2015-08-15T09:34:24Z")

</div>

A bit more context would help.

Are you changing the port or interface that ES is listening on?

---

<div class="post-metadata">

**Author:** ![Suny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suny/32/22082_2.png) [@Suny](https://discuss.elastic.co/u/Suny)\
**Post date:** [August 27, 2015, 9:06am UTC](https://discuss.elastic.co/t/bindtransportexception/27397/3 "2015-08-27T09:06:08Z")

</div>

We had this issue, too. It can be caused by a wrong IP in the elasticsearch.yml (network.bind\_host and network.publish\_host, or, setting both, network.host). Or if your elasticsearch container runs in a docker container, you may have to give docker more control over the network.

---

<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, 11:53pm UTC](https://discuss.elastic.co/t/bindtransportexception/27397/4 "2017-07-05T23:53:31Z")

</div>


