# Cannot connect to Kibana on port 5601

**URL:** https://discuss.elastic.co/t/cannot-connect-to-kibana-on-port-5601/163592
**Category:** Kibana
**Created:** [January 9, 2019, 5:09pm UTC](https://discuss.elastic.co/t/cannot-connect-to-kibana-on-port-5601/163592 "2019-01-09T17:09:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nomaxpi](https://avatars.discourse-cdn.com/v4/letter/n/f14d63/32.png) [@nomaxpi](https://discuss.elastic.co/u/nomaxpi)
#### Post date: [January 9, 2019, 5:09pm UTC](https://discuss.elastic.co/t/cannot-connect-to-kibana-on-port-5601/163592/1 "2019-01-09T17:09:00Z")

</div>

Hi All,

We are trying to evaluate Elastic Stack and I am having an issue getting to the management console in Kibana. I am following the getting started guide which says to install ElasticSearch first then Kibana. I have done both of those but I cannot connect to the Kibana instance that is running. I took a packet capture and it is showing TCP resets for some reason so the traffic is reaching the server. I have linked to the logs below. Anyone know why I can't connect to Kibana?

Log - [https://pastebin.com/KBcHqq76](https://pastebin.com/KBcHqq76)

---

<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: [January 9, 2019, 5:12pm UTC](https://discuss.elastic.co/t/cannot-connect-to-kibana-on-port-5601/163592/2 "2019-01-09T17:12:21Z")

</div>

Looks like Kibana is bound to `localhost:5601` which is only accessible from within that host. Change `localhost:5601` to `0.0.0.0:5601` in your kibana.yml file.

---

<div class="post-metadata">

### Author: ![nomaxpi](https://avatars.discourse-cdn.com/v4/letter/n/f14d63/32.png) [@nomaxpi](https://discuss.elastic.co/u/nomaxpi)
#### Post date: [January 9, 2019, 5:17pm UTC](https://discuss.elastic.co/t/cannot-connect-to-kibana-on-port-5601/163592/3 "2019-01-09T17:17:14Z")

</div>

Thanks Christian, that was the issue. I was able to confirm that with a netstat -an and it was only bound to the loopback. Thanks for the quick reply! I can connect to it now.

Regards,  
Max

---

<div class="post-metadata">

### Author: ![Tech-Girl1](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@Tech-Girl1](https://discuss.elastic.co/u/Tech-Girl1)
#### Post date: [January 11, 2019, 6:30am UTC](https://discuss.elastic.co/t/cannot-connect-to-kibana-on-port-5601/163592/4 "2019-01-11T06:30:45Z")

</div>

> [@nomaxpi](#):
>
> the loopback. Thanks for the quick reply! I can connect to it now.
> 
> Regards,

hey i am having same issue ..but i am facing this during docker installation .furthermore i don't have any idea about where i can find yml file in 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 8, 2019, 6:36am UTC](https://discuss.elastic.co/t/cannot-connect-to-kibana-on-port-5601/163592/5 "2019-02-08T06:36:13Z")

</div>

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