How can access kibana in ip address?

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?

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

1 Like

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"
}

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.

1 Like

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