# Binde Elasticsearch with local Ip

**URL:** <https://discuss.elastic.co/t/binde-elasticsearch-with-local-ip/150127>\
**Category:** Elasticsearch\
**Created:** [September 27, 2018, 6:56am UTC](https://discuss.elastic.co/t/binde-elasticsearch-with-local-ip/150127 "2018-09-27T06:56:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arpan.S](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@Arpan.S](https://discuss.elastic.co/u/Arpan.S)\
**Post date:** [September 27, 2018, 6:56am UTC](https://discuss.elastic.co/t/binde-elasticsearch-with-local-ip/150127/1 "2018-09-27T06:56:32Z")

</div>

Hi,  
I'm using Elasticsearch6.4.1 and I want to access the database from another machine in my local network using my local IP address.  
For that I 've made few changes in my elasticsearch.yml file which are shown blow:

```
# ======================== Elasticsearch Configuration =========================

 cluster.name: demousecase

 node.name: "node-1"

 network.host: 127.0.0.1
 discovery.zen.ping.unicast.hosts: ["127.0.0.1"]
 http.host: 0.0.0.0
 http.port: 9200
 discovery.type: single-node

```

Only this much line are uncommented in my elasticsearch.yml file.

Suppose my local IP address is 192.168.0.111  
So the problem is I'm able to hit Elasticsearch at localhost:9200, 127.0.0.1:9200 and 0.0.0.0:9200 but **NOT at 192.168.0.111:9200**. How can is access Elasticsearch at 192.168.0.111:9200

Please suggest me how can I do so.

Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![Arpan.S](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@Arpan.S](https://discuss.elastic.co/u/Arpan.S)\
**Post date:** [September 27, 2018, 7:42am UTC](https://discuss.elastic.co/t/binde-elasticsearch-with-local-ip/150127/2 "2018-09-27T07:42:08Z")

</div>

Hi,

I have resolved the issue by commenting all line and except

```
 network.host: 0.0.0.0
 http.port: 9200

```

Thanks.

---

<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 25, 2018, 7:42am UTC](https://discuss.elastic.co/t/binde-elasticsearch-with-local-ip/150127/3 "2018-10-25T07:42:16Z")

</div>

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