# Usage of network.host on 5.4

**URL:** <https://discuss.elastic.co/t/usage-of-network-host-on-5-4/86124>\
**Category:** Elasticsearch\
**Created:** [May 17, 2017, 2:23pm UTC](https://discuss.elastic.co/t/usage-of-network-host-on-5-4/86124 "2017-05-17T14:23:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobby259](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@bobby259](https://discuss.elastic.co/u/bobby259)\
**Post date:** [May 17, 2017, 2:23pm UTC](https://discuss.elastic.co/t/usage-of-network-host-on-5-4/86124/1 "2017-05-17T14:23:30Z")

</div>

I am installing 5.4 today and I see the an issue. Port 9200 is active when I set network.host: localhost  
But, when I set network.host to an IP, I see curl: (7) Failed to connect to port 9200: Connection refused.

Can someone explain what's going on here? I have installed 5.3 very recently but never faced this issue ?

Please help.

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [May 19, 2017, 6:41am UTC](https://discuss.elastic.co/t/usage-of-network-host-on-5-4/86124/2 "2017-05-19T06:41:32Z")

</div>

Hi @bobby259,

Based on your description it's hard to find out what's going on. By setting `network.host` to an IP other than localhost, Elasticsearch enables bootstrap checks and refuses to start when these checks fail. So I would check the log file of Elasticsearch and apply the necessary fixes. Also see our [docs on bootstrap checks](https://www.elastic.co/guide/en/elasticsearch/reference/5.4/bootstrap-checks.html) for more details.

Daniel

---

<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:** [June 16, 2017, 6:41am UTC](https://discuss.elastic.co/t/usage-of-network-host-on-5-4/86124/3 "2017-06-16T06:41:43Z")

</div>

Closed on June 16, 2017, 6:41am UTC

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