[疑难杂症]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启动Ki
·
在使用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如下图所示。
更多推荐
已为社区贡献2条内容
所有评论(0)