# Connect Kibana Docker and Locally run Elasticsearch

**URL:** <https://discuss.elastic.co/t/connect-kibana-docker-and-locally-run-elasticsearch/163070>\
**Category:** Kibana\
**Created:** [January 6, 2019, 11:43am UTC](https://discuss.elastic.co/t/connect-kibana-docker-and-locally-run-elasticsearch/163070 "2019-01-06T11:43:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jagadeesh\_ctm](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@Jagadeesh\_ctm](https://discuss.elastic.co/u/Jagadeesh_ctm)\
**Post date:** [January 6, 2019, 11:43am UTC](https://discuss.elastic.co/t/connect-kibana-docker-and-locally-run-elasticsearch/163070/1 "2019-01-06T11:43:46Z")

</div>

Hii

I run my kibana using the docker and elasticsearch using locally using the command bin/elasticsearch which listens to [http://localhost:9200/](http://localhost:9200/) but kibana cant idendify this running elasticsearch instance . It is showing an error no living connections on [http://localhost:9200/](http://localhost:9200/) .

Please help me to troubleshoot it.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [January 7, 2019, 11:11am UTC](https://discuss.elastic.co/t/connect-kibana-docker-and-locally-run-elasticsearch/163070/2 "2019-01-07T11:11:46Z")

</div>

Hello,

You need to configure either your ES to have an external IP that Kibana can ping from inside the docker instance, or forward the requests from inside Docker to localhost. But that is overcomplicating.  
You can run Kibana locally next to ES without any problems and you can connect it to your local ES or you can run the whole stack in a Docker instance. We have a very good guide for that here: [https://github.com/elastic/stack-docker](https://github.com/elastic/stack-docker)

---

<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:** [February 4, 2019, 11:11am UTC](https://discuss.elastic.co/t/connect-kibana-docker-and-locally-run-elasticsearch/163070/3 "2019-02-04T11:11:53Z")

</div>

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