![[疑难杂症]Kibana报错:Unable to retrieve version information from Elasticsearch nodes,第1张 [疑难杂症]Kibana报错:Unable to retrieve version information from Elasticsearch nodes,第1张](/aiimages/%5B%E7%96%91%E9%9A%BE%E6%9D%82%E7%97%87%5DKibana%E6%8A%A5%E9%94%99%EF%BC%9AUnable+to+retrieve+version+information+from+Elasticsearch+nodes.png)
在使用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如下图所示。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)