Accessing kibana on local network

Accessing kibana on local network

I want to access kibana running on my local system to be accessed by local_ip:5601 on other systems in my local network. I tried adding these two lines in elastic search:
http.cors.allow-origin: “*”
http.cors.enabled: true

But, it didn’t work either.


Solution 1:

On your kibana.yml look for the line "". It will probably be commented (#). You must remove the “#” from the line and restart your kibana service. It should allow you to access kibana from your local network ip e.g. “” and make it discoverable by your other systems.
On that same file kibana.yml you will find an url that points to “http://localhost:9200” by default. If your elasticsearch instance is hosted in any different url than that, you must specify to kibana config file.

You can find more information about it here

Solution 2:

See this related question:

I was working with Kibana in a Centos 7 Vagrant VM.
I was not able to access the Kibana webui from the Host computer.

Stopping firewalld and disabling SELinux did not do the trick.

My VM ip address was, so I tested with curl and it would work from within the VM, but not from the Host CLI.

I tested that port forwarding was working by installing Apache in the VM and could access it from the Host browser with http://localhost:80, so port forwarding was not the problem.

My problem was the parameter in the kibana.yml configuration file, which I had set to the ip address of the VM.

I changed it from this: ""

to this: ""

restarted kibana and could access the webui from the Host.

Solution 3:

This is how I got it to work:

Vagrantfile: "forwarded_port", guest: 5601, host: 5602


Listen 5602
<VirtualHost *:5602>
ProxyPreserveHost On
ProxyRequests Off
ProxyPass /
ProxyPassReverse /
<Proxy *>
Order deny,allow
Allow from all