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服务

猜你喜欢

转载自www.cnblogs.com/zs-notes/p/10869227.html
今日推荐