[疑难杂症]Kibana报错:Unable to retrieve version information from Elasticsearch nodes

[疑难杂症]Kibana报错:Unable to retrieve version information from Elasticsearch nodes,第1张

[疑难杂症]Kibana报错:Unable to retrieve version information from Elasticsearch nodes

        在使用Kibana连接ElasticSearch时,在ElasticSearch已经启动的情况下,再去启动Kibana,结果报错:

[error][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. connect EConNREFUSED 127.0.0.1:9200

         启动Kibana,我是已经将Kibana.yml中的elasticsearch.hosts修改为:["http://127.0.0.1:9200"],使用的是localhost,如下图所示。

         其中elasticsearch中的elasticsearch.yml中的network.host也是使用的是localhost。

         最后,才发现不能使用localhost,需要使用私有IP。将Kibana.yml中的elasticsearch.hosts以及elasticsearch.yml中的network.host、discovery.seed_hosts都使用私有IP后,问题解决,其中我的私有IP是192.168.0.101如下图所示。

 

 

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5708926.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-18
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存