How can access kibana in ip address?


(Kwan) #1

I have two machine , machine A and machine B
and they are in the same local area network.
I installed kibana in machine A and set server.host "127.0.0.1" in kibana.yml
and I cannot access the page in machine B via machine A's ip address like 192.168.16.137:5601
Does anybody know why?


(Christian Dahlqvist) #2

127.0.0.1 only allows connections from the local machine, not across the network, so change this to 0.0.0.0 instead.


(Kwan) #3

No, I tried 0.0.0.0, it is still unaccessible
The return info contains

{
statusCode: 502,
error: "Bad Gateway",
message: "connect EADDRNOTAVAIL 0.0.0.0:5603"
}

(Christian Dahlqvist) #4

0.0.0.0 makes Kibana listen to all interfaces, so you should be able to access it using the hosts public IP address. If this is not the case, you may have a firewall blocking access.


(system) #5

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