# Configuring elastic search not to be localhost

**URL:** <https://discuss.elastic.co/t/configuring-elastic-search-not-to-be-localhost/105256>\
**Category:** Elasticsearch\
**Created:** [October 25, 2017, 1:50pm UTC](https://discuss.elastic.co/t/configuring-elastic-search-not-to-be-localhost/105256 "2017-10-25T13:50:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bilpor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bilpor/32/24043_2.png) [@bilpor](https://discuss.elastic.co/u/bilpor)\
**Post date:** [October 25, 2017, 1:50pm UTC](https://discuss.elastic.co/t/configuring-elastic-search-not-to-be-localhost/105256/1 "2017-10-25T13:50:47Z")

</div>

HI All,

After installing Elasticsearch 5.6.3 and setting Nodename to the server name. I tried to browse to Elasticsearch using IP:9200 but it didn't work. If I browse to localhost:9200 it works. Where do I go to change th default behaviour of Localhost. Since I want to open this up to other external servers so the loop back address of localhost isn't any good.

After installing Kibana 5.6.3, the same is obviously true here as well. Starting the kibana server with the ip fails, but with localhost doesn't.

Thanks  
Bill

---

<div class="post-metadata">

**Author:** ![bilpor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bilpor/32/24043_2.png) [@bilpor](https://discuss.elastic.co/u/bilpor)\
**Post date:** [October 25, 2017, 3:13pm UTC](https://discuss.elastic.co/t/configuring-elastic-search-not-to-be-localhost/105256/2 "2017-10-25T15:13:53Z")

</div>

Ok, think I've found it.

In the elasticsearch,yml file I just needed to introduce the following:

**network.host: ip address**

Now restart the Elastic search service and change the value in the kibanas yml file

---

<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:** [November 22, 2017, 3:21pm UTC](https://discuss.elastic.co/t/configuring-elastic-search-not-to-be-localhost/105256/3 "2017-11-22T15:21:39Z")

</div>

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