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

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

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

 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄