# ES multiple network.host failed to bind

**URL:** <https://discuss.elastic.co/t/es-multiple-network-host-failed-to-bind/165620>\
**Category:** Elasticsearch\
**Created:** [January 24, 2019, 2:18pm UTC](https://discuss.elastic.co/t/es-multiple-network-host-failed-to-bind/165620 "2019-01-24T14:18:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sylvain\_Attoumani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sylvain_attoumani/32/45401_2.png) [@Sylvain\_Attoumani](https://discuss.elastic.co/u/Sylvain_Attoumani)\
**Post date:** [January 24, 2019, 2:18pm UTC](https://discuss.elastic.co/t/es-multiple-network-host-failed-to-bind/165620/1 "2019-01-24T14:18:40Z")

</div>

I'm working with elasticsearch and i'm trying to put multiple network.host but it doesn't seems to work. What I did is I changed elasticsearch.yml and adding

```
  network.host: ["127.0.0.1","xx.xx.xxx.xxx"]

```

But when I restart my service it doesn't work and im my log file I got the following error :

```
 org.elasticsearch.transport.BindTransportException: Failed to bind to [9300-9400]

```

And of course it's impossiple for me to have the health by doing

```
curl -X GET "127.0.0.1:9200/_cat/health?"

```

on my server

Everything works fine If I use only one network.host (127.0.0.1 or the other one)

I also did

```
netstat -a -n | grep "LIST"

```

But nothing seems to be a problem there

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [January 24, 2019, 6:34pm UTC](https://discuss.elastic.co/t/es-multiple-network-host-failed-to-bind/165620/2 "2019-01-24T18:34:53Z")

</div>

The only reason I can think of why you would get that error is due to the fact the ip you are configuring is incorrect.

Please double check the ip and try again...

---

<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:** [February 21, 2019, 6:42pm UTC](https://discuss.elastic.co/t/es-multiple-network-host-failed-to-bind/165620/3 "2019-02-21T18:42:48Z")

</div>

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