# Not able to Connect to Elasticsearcsearch and Kibana from remote machine

**URL:** <https://discuss.elastic.co/t/not-able-to-connect-to-elasticsearcsearch-and-kibana-from-remote-machine/105182>\
**Category:** Elasticsearch\
**Created:** [October 25, 2017, 7:31am UTC](https://discuss.elastic.co/t/not-able-to-connect-to-elasticsearcsearch-and-kibana-from-remote-machine/105182 "2017-10-25T07:31:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanju1323](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@sanju1323](https://discuss.elastic.co/u/sanju1323)\
**Post date:** [October 25, 2017, 7:31am UTC](https://discuss.elastic.co/t/not-able-to-connect-to-elasticsearcsearch-and-kibana-from-remote-machine/105182/1 "2017-10-25T07:31:11Z")

</div>

Hi,

I have installed Elasticsearch and Kibana on Linux machine.  
Locally both are working fine and the ports 9200, 5601 are open and are listening.  
I have changed the `network.host : 0.0.0.0 and transport.host : localhost` in "Elasticsearch.yml" file and  
`server.host: 0.0.0.0` in "kibana.yml" file.  
But I'm not able to connect to either Elasticsearch Or Kibana. Please let me know what have to be done.

Thanks in advance,  
Dharma Sanjay Reddy M.

---

<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, 8:59am UTC](https://discuss.elastic.co/t/not-able-to-connect-to-elasticsearcsearch-and-kibana-from-remote-machine/105182/2 "2017-10-25T08:59:29Z")

</div>

mention the your host IP entry in /etc/hosts file also.  
from which url you are accessing the elasticsearch?

---

<div class="post-metadata">

**Author:** ![sanju1323](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@sanju1323](https://discuss.elastic.co/u/sanju1323)\
**Post date:** [October 25, 2017, 11:50am UTC](https://discuss.elastic.co/t/not-able-to-connect-to-elasticsearcsearch-and-kibana-from-remote-machine/105182/3 "2017-10-25T11:50:50Z")

</div>

Hi Pooja,

Thanks for the quick response.  
I have added my hostname to /etc/hosts file as well as /etc/sysconfig/network file. But no luck ☹

Regards,  
Dharma Sanjay Reddy M.

---

<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 26, 2017, 5:28am UTC](https://discuss.elastic.co/t/not-able-to-connect-to-elasticsearcsearch-and-kibana-from-remote-machine/105182/4 "2017-10-26T05:28:36Z")

</div>

> [@sanju1323](#):
>
> Locally both are working fine

As you mentioned locally they are working . and you want to access Elasticsearch and Kibana from remote machine. For this you should also include remote IP in host file to communicate from both machine.  
To access kibana GUI from remote machine , make sure its entry should be in local host 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 23, 2017, 5:28am UTC](https://discuss.elastic.co/t/not-able-to-connect-to-elasticsearcsearch-and-kibana-from-remote-machine/105182/5 "2017-11-23T05:28:38Z")

</div>

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