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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM