# Changing Elasticsearch from Localhost to IP on Windows

**URL:** <https://discuss.elastic.co/t/changing-elasticsearch-from-localhost-to-ip-on-windows/105157>\
**Category:** Elasticsearch\
**Created:** [October 25, 2017, 5:27am UTC](https://discuss.elastic.co/t/changing-elasticsearch-from-localhost-to-ip-on-windows/105157 "2017-10-25T05:27:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahmood\_Shehab](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahmood_shehab/32/23377_2.png) [@Mahmood\_Shehab](https://discuss.elastic.co/u/Mahmood_Shehab)\
**Post date:** [October 25, 2017, 5:27am UTC](https://discuss.elastic.co/t/changing-elasticsearch-from-localhost-to-ip-on-windows/105157/1 "2017-10-25T05:27:26Z")

</div>

After installing Elasticsearch, Kibana, logstash to my windows 7 local machine, everything was perfect however, when I want to change the address from “ **localhost** ” to “ **192.168.1.100** ” I faced a problem so I made the below changes to the yml files (‘Elaasticsearch’,’Kibana’) as follow:

_C:\Elasticsearch\config\elasticsearch.yml_

.  
.  
_Added this line_  
**_network.host: 0.0.0.0_**

C:\kibana\config\kibana.yml  
.  
.

**_network.bind\_host: 0_**  
**_network.host: 0.0.0.0_**  
**_server.host: "192.168.1.100"_**

**Make sure you close the old session , by closing the browser and luncing a new one with the IP address.**

[Related Issue.](https://discuss.elastic.co/t/unable-to-connect-to-kibana/53766/2)

Regards,  
Mahmood

---

<div class="post-metadata">

**Author:** ![poojagupta](https://avatars.discourse-cdn.com/v4/letter/p/5daacb/32.png) [@poojagupta](https://discuss.elastic.co/u/poojagupta)\
**Post date:** [October 25, 2017, 9:06am UTC](https://discuss.elastic.co/t/changing-elasticsearch-from-localhost-to-ip-on-windows/105157/2 "2017-10-25T09:06:07Z")

</div>

Make sure your Host IP should be in Hosts file.If not , make an entry for Ip as well

---

<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, 9:06am UTC](https://discuss.elastic.co/t/changing-elasticsearch-from-localhost-to-ip-on-windows/105157/3 "2017-11-22T09:06:54Z")

</div>

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