# Kibana container can ping but won't connect to ES container?

**URL:** <https://discuss.elastic.co/t/kibana-container-can-ping-but-wont-connect-to-es-container/138078>\
**Category:** Elasticsearch\
**Created:** [July 1, 2018, 9:59am UTC](https://discuss.elastic.co/t/kibana-container-can-ping-but-wont-connect-to-es-container/138078 "2018-07-01T09:59:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fRzzy](https://avatars.discourse-cdn.com/v4/letter/f/e47c2d/32.png) [@fRzzy](https://discuss.elastic.co/u/fRzzy)\
**Post date:** [July 1, 2018, 9:59am UTC](https://discuss.elastic.co/t/kibana-container-can-ping-but-wont-connect-to-es-container/138078/1 "2018-07-01T09:59:57Z")

</div>

I'm trying to setup ELK on one host using docker, but after 2 days and various settings changed, currently Kibana simply refused to connect to ES (or the other way around idk)

Kibana log give out error:

{"type":"log","@timestamp":"2018-07-01T09:53:53Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"No living connections"}  
{"type":"log","@timestamp":"2018-07-01T09:53:55Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"Unable to revive connection: [http://10.0.9.2:9200/](http://10.0.9.2:9200/)"}

I can ping the IP from inside Kibana container, but curl -XGET [http://10.0.9.2:9200](http://10.0.9.2:9200) give "no route to host" error.

I can visit the address from my computer and ES is giving out its stats as normal.

Visiting IP:5601 get me Kibana login page with "login is disabled" message (can't connect to ES I think)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 1, 2018, 12:46pm UTC](https://discuss.elastic.co/t/kibana-container-can-ping-but-wont-connect-to-es-container/138078/2 "2018-07-01T12:46:33Z")

</div>

Share your elasticsearch logs (correctly formatted please).

---

<div class="post-metadata">

**Author:** ![fRzzy](https://avatars.discourse-cdn.com/v4/letter/f/e47c2d/32.png) [@fRzzy](https://discuss.elastic.co/u/fRzzy)\
**Post date:** [July 1, 2018, 4:59pm UTC](https://discuss.elastic.co/t/kibana-container-can-ping-but-wont-connect-to-es-container/138078/3 "2018-07-01T16:59:57Z")

</div>

Hello, it's working.

I need to setup a private bridge network for ELK containers and connect them via container interface. I think docker default rule wouldn't allow that.

Somehow I kept thinking this is related to ELK, nothing a couple of beer won't solve.

---

<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:** [July 29, 2018, 5:00pm UTC](https://discuss.elastic.co/t/kibana-container-can-ping-but-wont-connect-to-es-container/138078/4 "2018-07-29T17:00:02Z")

</div>

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