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

我在springboot集成 elasticsearch,啟動springboot測試創建索引,建立索引的時候報 : 修改 D: elasticsearch . . config elasticsearch.yml配置文件 自己的elasticsearch安裝位置 ,然后重啟elasticsearch服務 ...

2019-05-15 14:28 0 1284 推薦指數:

查看詳情

NoNodeAvailableException[None of the configured nodes are available

可能的原因: 1、項目引用的ES版本和ES服務的版本不一樣; 2、端口不正確,tcp訪問端口是9300; 3、cluster.name不正確,可以通過訪問http://localhost:9200/查看ES服務下的cluster.name; 4、ES服務沒啟動; 簡單demo ...

Sat Jun 01 01:05:00 CST 2019 0 5800
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM