NoNodeAvailableException[None of the configured nodes are available:[.127.0.0.1}{127.0.0.1:9300]

我在springboot 集成 elasticsearch,启动springboot测试创建索引,建立索引的时候报 :

NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{jzxmY2H9RVSWNO1-6y28sA}{127.0.0.1}{127.0.0.1:9300}]]
...
...

修改  D:\elasticsearch-6.2.2\config\elasticsearch.yml 配置文件(自己的elasticsearch安装位置),然后重启elasticsearch服务

 

posted @ 2019-05-15 14:28  仰望星空的脚踏实地  阅读(2065)  评论(0编辑  收藏  举报