? ? ? ? 在使用Kibana連接ElasticSearch時,在ElasticSearch已經(jīng)啟動的情況下,再去啟動Kibana,結(jié)果報錯:
[error][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 127.0.0.1:9200
? ? ? ? ?啟動Kibana,我是已經(jīng)將Kibana.yml中的elasticsearch.hosts修改為:["http://127.0.0.1:9200"],使用的是localhost,如下圖所示。
? ? ? ? ?其中elasticsearch中的elasticsearch.yml中的network.host也是使用的是localhost。
? ? ? ? ?最后,才發(fā)現(xiàn)不能使用localhost,需要使用私有IP。將Kibana.yml中的elasticsearch.hosts以及elasticsearch.yml中的network.host、discovery.seed_hosts都使用私有IP后,問題解決,其中我的私有IP是192.168.0.101如下圖所示。
?文章來源:http://www.zghlxwxcb.cn/news/detail-503782.html
?文章來源地址http://www.zghlxwxcb.cn/news/detail-503782.html
到了這里,關(guān)于[疑難雜癥]Kibana報錯:Unable to retrieve version information from Elasticsearch nodes的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!