Only can access elastic and kibana from loscalhost

Hi, I'm newer for ELK.

I install windows MSI version of elastic.

right now I only can access localhost:9200 or localhost:5601

if I change the localhost to IP, It can not be accessed.

could someone tell me how to fix it. thanks

You have to specify server.host in your kibana.yml:

server.host:

Default: "localhost" This setting specifies the host of the back end server. To allow remote users to connect, set the value to the IP address or DNS name of the Kibana server.

https://www.elastic.co/guide/en/kibana/current/settings.html

Same thing for Elasticsearch - it's called network.host there: https://www.elastic.co/guide/en/elasticsearch/reference/current/network.host.html

If I put priavte ip like 172.16.x.x, it doesn't work.
I config DNS name in kibana.yml instead of ip, it works for me.

in Elasticsearch, if I config network.host, the service run with error.

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