# Can't reach Kibana on localhost

**URL:** <https://discuss.elastic.co/t/cant-reach-kibana-on-localhost/197811>\
**Category:** Elastic Training\
**Created:** [September 3, 2019, 10:01am UTC](https://discuss.elastic.co/t/cant-reach-kibana-on-localhost/197811 "2019-09-03T10:01:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsu](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jsu](https://discuss.elastic.co/u/jsu)\
**Post date:** [September 3, 2019, 10:01am UTC](https://discuss.elastic.co/t/cant-reach-kibana-on-localhost/197811/1 "2019-09-03T10:01:59Z")

</div>

Hey there,

I took the Eng I and II courses and now wanted to go through the labs on my local machine again to prepare for the certification.

I set up a VM with an ubuntu server on VMware in NAT mode (but bridged doesn't change the problem) and I can't seem to reach Kibana when going to [http://localhost:5601](http://localhost:5601) .

Cluster health is green, everything's fine, except the fact that I can't reach Kibana from my host.

Any idea on how to fix this issue ?

Sorry if the answer is already somewhere around, but I couldn't find it.

Thanks in advance for your help!

jsu

---

<div class="post-metadata">

**Author:** ![abdon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdon/32/9195_2.png) [@abdon](https://discuss.elastic.co/u/abdon)\
**Post date:** [September 3, 2019, 10:59am UTC](https://discuss.elastic.co/t/cant-reach-kibana-on-localhost/197811/2 "2019-09-03T10:59:53Z")

</div>

I would try configuring Kibana to bind to all available network interfaces. You can do so by providing this parameter on the command line when starting Kibana: `--host=0.0.0.0`

Hopefully that will resolve your issue.

---

<div class="post-metadata">

**Author:** ![jsu](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jsu](https://discuss.elastic.co/u/jsu)\
**Post date:** [September 3, 2019, 11:09am UTC](https://discuss.elastic.co/t/cant-reach-kibana-on-localhost/197811/3 "2019-09-03T11:09:24Z")

</div>

Thanks for the quick answer abdon !

I just tried this but unfortunately it didn't work. Still "unable to connect".

EDIT : actually, with the `--host=0.0.0.0`, it worked when I connected to it with [http://ip.of.the.vm:5601](http://ip.of.the.vm:5601) and not with [http://localhost:5601](http://localhost:5601) .  
Thanks a lot for the help !

---

<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 3, 2019, 11:09am UTC](https://discuss.elastic.co/t/cant-reach-kibana-on-localhost/197811/4 "2019-10-03T11:09:28Z")

</div>

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