# ElasticSearch not connecting to local IP address

**URL:** https://discuss.elastic.co/t/elasticsearch-not-connecting-to-local-ip-address/99572
**Category:** Elasticsearch
**Created:** [September 6, 2017, 11:42am UTC](https://discuss.elastic.co/t/elasticsearch-not-connecting-to-local-ip-address/99572 "2017-09-06T11:42:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ratnakar\_Sadasyula](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ratnakar_sadasyula/32/21775_2.png) [@Ratnakar\_Sadasyula](https://discuss.elastic.co/u/Ratnakar_Sadasyula)
#### Post date: [September 6, 2017, 11:42am UTC](https://discuss.elastic.co/t/elasticsearch-not-connecting-to-local-ip-address/99572/1 "2017-09-06T11:42:08Z")

</div>

Hi

I am using ElasticSearch 5.5.x, now when I don't make changes in elasticsearch.yml and start it. It runs fine.

And I am able to access using curl [http://localhost:9200](http://localhost:9200) with no issue

However if I change network.host to ipaddress of my local machine, it is not able to start and connect.

IP Address of my linux instance is 10.193.164.191

And in elasticsearch.yml

I set network.host to 10.193.164,191, and I start the elasticsearch, shows failed status.

This is the entry

network.host: 10.193.164.191

now if I try accessing using

curl [http://10.193.164.191](http://10.193.164.191) :9200 it gives an error, not able to connect.

What is the issue

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [September 6, 2017, 12:08pm UTC](https://discuss.elastic.co/t/elasticsearch-not-connecting-to-local-ip-address/99572/2 "2017-09-06T12:08:20Z")

</div>

Check the Elasticsearch logs. It could be that you have some [bootstrap checks](https://www.elastic.co/blog/bootstrap_checks_annoying_instead_of_devastating) that are failing.

---

<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: [October 4, 2017, 12:09pm UTC](https://discuss.elastic.co/t/elasticsearch-not-connecting-to-local-ip-address/99572/3 "2017-10-04T12:09:06Z")

</div>

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