# ES5.2 - Can't bind to 0.0.0.0

**URL:** <https://discuss.elastic.co/t/es5-2-cant-bind-to-0-0-0-0/77797>\
**Category:** Elasticsearch\
**Created:** [March 8, 2017, 10:31am UTC](https://discuss.elastic.co/t/es5-2-cant-bind-to-0-0-0-0/77797 "2017-03-08T10:31:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![idanhagai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/idanhagai/32/16175_2.png) [@idanhagai](https://discuss.elastic.co/u/idanhagai)\
**Post date:** [March 8, 2017, 10:31am UTC](https://discuss.elastic.co/t/es5-2-cant-bind-to-0-0-0-0/77797/1 "2017-03-08T10:31:20Z")

</div>

I'm using ES 5.2 on ubuntu 14.04

My yml contains:

**network.host: 0.0.0.0**  
**http.port: 9200**  
**transport.tcp.port: 9300**  
**transport.host: 0.0.0.0**  
**transport.bind\_host: 0.0.0.0**  
**transport.publish\_host: 0.0.0.0**

From the log the publish\_address is the correct one: 10.3.1.50:9300,  
but the bound\_addressed is wrong: [::]:9300, **I need it to be 0.0.0.0:9300**.

Here is the log:  
**initializing ...**  
**using [1] data paths, mounts [[/ (/dev/sda1)]], net usable\_space [85.6gb], net total\_space [102.8gb], spins? [possibly], types [ext4]**  
**heap size [15.9gb], compressed ordinary object pointers [true]**  
**node name [myNodeName\_elastic\_5], node ID [MdjfQYkkSOGoFafhNQbOGA]**  
**version[5.2.1], pid[3616], build[db0d481/2017-02-09T22:05:32.386Z], OS[Linux/4.4.0-64-generic/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0\_121/25.121-b13]**  
**loaded module [aggs-matrix-stats]**  
**loaded module [ingest-common]**  
**loaded module [lang-expression]**  
**loaded module [lang-groovy]**  
**loaded module [lang-mustache]**  
**loaded module [lang-painless]**  
**loaded module [percolator]**  
**loaded module [reindex]**  
**loaded module [transport-netty3]**  
**loaded module [transport-netty4]**  
**no plugins loaded**  
**initialized**  
**starting ...**  
**publish\_address {10.3.1.50:9300}, bound\_addresses {[::]:9300}**  
**bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks**  
**2017-03-08 12:19:18.012066500 ERROR: bootstrap checks failed**  
**2017-03-08 12:19:18.012068500 max file descriptors [32000] for elasticsearch process is too low, increase to at least [65536]**  
**stopping ...**  
**stopped**  
**closing ...**  
**closed**

(\* the "max file descriptors" Error is not the reason because that with other yml the service is find)

Any ideas ?

Thanks

---

<div class="post-metadata">

**Author:** ![Conall\_Prendergast](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@Conall\_Prendergast](https://discuss.elastic.co/u/Conall_Prendergast)\
**Post date:** [March 8, 2017, 10:41am UTC](https://discuss.elastic.co/t/es5-2-cant-bind-to-0-0-0-0/77797/2 "2017-03-08T10:41:34Z")

</div>

Hi @idanhagai,

This is being caused by bootstrap test failure. The bootstrap checks are run when ES detects that it is in "production mode", as opposed to "development mode".

In this case, attempting to bind to 0.0.0.0 triggered ES to run in production mode.  
Take a look at [this page](https://www.elastic.co/guide/en/elasticsearch/guide/master/deploy.html) that tells how to put ES in production mode.

See [here](https://www.elastic.co/guide/en/elasticsearch/reference/master/file-descriptors.html) for info about setting the max file descriptors

---

<div class="post-metadata">

**Author:** ![idanhagai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/idanhagai/32/16175_2.png) [@idanhagai](https://discuss.elastic.co/u/idanhagai)\
**Post date:** [March 8, 2017, 1:16pm UTC](https://discuss.elastic.co/t/es5-2-cant-bind-to-0-0-0-0/77797/3 "2017-03-08T13:16:06Z")

</div>

THANKS !!!

I increased the file description to 65536 and problem solved 😅

---

<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:** [April 5, 2017, 1:16pm UTC](https://discuss.elastic.co/t/es5-2-cant-bind-to-0-0-0-0/77797/4 "2017-04-05T13:16:11Z")

</div>

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