# Kibana is running,but connection refused

**URL:** <https://discuss.elastic.co/t/kibana-is-running-but-connection-refused/147893>\
**Category:** Kibana\
**Created:** [September 10, 2018, 6:47am UTC](https://discuss.elastic.co/t/kibana-is-running-but-connection-refused/147893 "2018-09-10T06:47:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavisDxb](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@DavisDxb](https://discuss.elastic.co/u/DavisDxb)\
**Post date:** [September 10, 2018, 6:47am UTC](https://discuss.elastic.co/t/kibana-is-running-but-connection-refused/147893/1 "2018-09-10T06:47:20Z")

</div>

My Kibans is running, but not able to load on browser.  
I checked in /var/log.Kibana folde not see in logs,  
what is the solution for this issue. reinstall Kibana again or any  
suggestion have please reply.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [September 10, 2018, 6:34pm UTC](https://discuss.elastic.co/t/kibana-is-running-but-connection-refused/147893/2 "2018-09-10T18:34:02Z")

</div>

How are you trying to connect to Kibana, and have you changed anything in the config? By default I think it only binds to `localhost`, not `127.0.0.1`, which means it's not network accessible and you'll only be able to access it from the machine that Kibana is running on, and only by using `localhost:5601`.

---

<div class="post-metadata">

**Author:** ![popa](https://avatars.discourse-cdn.com/v4/letter/p/dec6dc/32.png) [@popa](https://discuss.elastic.co/u/popa)\
**Post date:** [September 11, 2018, 8:10am UTC](https://discuss.elastic.co/t/kibana-is-running-but-connection-refused/147893/3 "2018-09-11T08:10:48Z")

</div>

Couple things come to mind:

1. Firewall rules not allowing 5601 or 80/443
2. SELinux (CentOS/RHEL)

Are you using something like Nginx to reverse proxy connections from 5601 to 80/443? Also, what operating system is Kibana running on?

---

<div class="post-metadata">

**Author:** ![DavisDxb](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@DavisDxb](https://discuss.elastic.co/u/DavisDxb)\
**Post date:** [September 11, 2018, 12:31pm UTC](https://discuss.elastic.co/t/kibana-is-running-but-connection-refused/147893/4 "2018-09-11T12:31:46Z")

</div>

I am try to accessing same way. Instead of 127.0.0.1 ,using localhost:5601.

But no log file in log directory. /var/log. no kibana directory

---

<div class="post-metadata">

**Author:** ![popa](https://avatars.discourse-cdn.com/v4/letter/p/dec6dc/32.png) [@popa](https://discuss.elastic.co/u/popa)\
**Post date:** [September 12, 2018, 1:37am UTC](https://discuss.elastic.co/t/kibana-is-running-but-connection-refused/147893/5 "2018-09-12T01:37:33Z")

</div>

Are you running this at work or in an environment where 5601 is blocked? A lot of corporate networks only allow access to 80/443 and other common ports.

Try accessing the server directly and running: `curl http://localhost:5601`

As an alternative, you could setup a reverse proxy using Nginx to forward requests made to port 80/443 to 5601, where Kibana is running. This will allow you to access `http://<your-kibana-ip>` instead of `http://<your-kibana-ip>:5601`

---

<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 10, 2018, 1:37am UTC](https://discuss.elastic.co/t/kibana-is-running-but-connection-refused/147893/6 "2018-10-10T01:37:47Z")

</div>

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