ElasticSearch & Kibana : Not able to bind to localhost

HI All,

i have configured "network.host: localhost" in elasticsearch.yml file. now i am trying to execute elasticsearch curl command with ipaddress it is not working. and i am trying to telnet elasticsearch port with ipaddress but it is also not working.

And the same thing configured "server.host: localhost" in kibana.yml file. Now I am trying to open kibana GUI with ipaddress (192.168..:5601) but it is not open. the telnet also not working.

Example: curl u elastic:elastic -X GET "ipaddress/my_index*/_stats/indexing?pretty"
Example : telnet 192.168.. 9200
Example : telnet 192.168.. 5601


Version: 7.3.0

please help me,

Thanks,
gnanendra

Hi

Could you set the adress to the IP that you're using, or here are some special values that are available: https://www.elastic.co/guide/en/elasticsearch/reference/current/network.host.html

thanks & best,
Matthias