# Network.host: 0.0.0.0 won't start

**URL:** <https://discuss.elastic.co/t/network-host-0-0-0-0-wont-start/64943>\
**Category:** Elasticsearch\
**Created:** [November 3, 2016, 8:18pm UTC](https://discuss.elastic.co/t/network-host-0-0-0-0-wont-start/64943 "2016-11-03T20:18:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![loranger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/loranger/32/12960_2.png) [@loranger](https://discuss.elastic.co/u/loranger)\
**Post date:** [November 3, 2016, 8:18pm UTC](https://discuss.elastic.co/t/network-host-0-0-0-0-wont-start/64943/1 "2016-11-03T20:18:41Z")

</div>

Hello, I've just setup a fresh elasticsearch 5 on a debian 8.6.

In order to test it, remotely, I've added `network.host: 0.0.0.0` to my `/etc/elasticsearch/elasticsearch.yml` but it refuses to restart.

The only log I can have is the systemd one which does not help at all:

```auto
nov. 03 21:07:17 my.server systemd[1]: Starting Elasticsearch...
nov. 03 21:07:17 my.server systemd[1]: Started Elasticsearch.
nov. 03 21:07:20 my.server systemd[1]: elasticsearch.service: main process exited, code=ex
nov. 03 21:07:20 my.server systemd[1]: Unit elasticsearch.service entered failed state.

```

I fell back to a local connection only, but I will soon need to connect remotely to elasticsearch and I can't figure out what's wrong.

Did I miss something ?

---

<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:** [November 3, 2016, 8:28pm UTC](https://discuss.elastic.co/t/network-host-0-0-0-0-wont-start/64943/2 "2016-11-03T20:28:58Z")

</div>

Look in `/var/log/elasticsearch` as well.

---

<div class="post-metadata">

**Author:** ![loranger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/loranger/32/12960_2.png) [@loranger](https://discuss.elastic.co/u/loranger)\
**Post date:** [November 3, 2016, 9:06pm UTC](https://discuss.elastic.co/t/network-host-0-0-0-0-wont-start/64943/3 "2016-11-03T21:06:10Z")

</div>

Thank you so much for pointing this log file again (I first took a look but didn't find anything relevant)

Then I read again and found this:

```auto
[2016-11-03T21:59:39,968][INFO][o.e.t.TransportService] [RbDA05-] publish_address {188.165.242.83:9300}, bound_addresses {[::]:9300}
[2016-11-03T21:59:39,972][INFO][o.e.b.BootstrapCheck] [RbDA05-] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
[2016-11-03T21:59:39,974][ERROR][o.e.b.Bootstrap] [RbDA05-] node validation exception
bootstrap checks failed
max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]

```

Now I have to dig a little deeper in sysctl, I suppose.

Thanks @warkolm !

---

<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:** [November 3, 2016, 9:09pm UTC](https://discuss.elastic.co/t/network-host-0-0-0-0-wont-start/64943/4 "2016-11-03T21:09:16Z")

</div>

Have a look through here as well - [https://www.elastic.co/guide/en/elasticsearch/reference/5.0/bootstrap-checks.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.0/bootstrap-checks.html)

---

<div class="post-metadata">

**Author:** ![loranger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/loranger/32/12960_2.png) [@loranger](https://discuss.elastic.co/u/loranger)\
**Post date:** [November 3, 2016, 9:09pm UTC](https://discuss.elastic.co/t/network-host-0-0-0-0-wont-start/64943/5 "2016-11-03T21:09:59Z")

</div>

In order to help future me or other fellows with the same issue, just read the [blog post regarding Bootstrap checks](https://www.elastic.co/blog/bootstrap_checks_annoying_instead_of_devastating)

Thanks again @warkolm, but thoses references pages leads me to a 404. Maybe a l10n issue ?

---

<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:** [November 3, 2016, 9:11pm UTC](https://discuss.elastic.co/t/network-host-0-0-0-0-wont-start/64943/6 "2016-11-03T21:11:49Z")

</div>

Sorry - [https://www.elastic.co/guide/en/elasticsearch/reference/5.0/setup.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.0/setup.html)

---

<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:06pm UTC](https://discuss.elastic.co/t/network-host-0-0-0-0-wont-start/64943/7 "2017-07-05T22:06:46Z")

</div>


