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

我在springboot 集成 elasticsearch,啓動springboot測試建立索引,創建索引的時候報 :node

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

相關文章
相關標籤/搜索