NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{HBmUtjMOQP2pgL

一、找到elasticsearch的安装目录,在config目录找到elasticsearch.yml,查看cluster.name的赋值node

二、在SpringBoot的yml文件中,不只要配置cluster-nodes,并且还须要配置cluster-name,并且cluster-name必须与elasticsearch.yml中一致elasticsearch

相关文章
相关标签/搜索