天天看點

NoNodeAvailableException[None of the configured nodes are available:

elasticSearch的錯誤

NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{-kTJsUqFSb69yMQ5v1fcuw}{192.168.56.101}{192.168.56.101:9300}]

找到伺服器端口 找到安裝目錄下的  elasticsearch.yml配置檔案

找到 這一行  cluster.name:     elasticsearch                      #(修改成自己search的Application.yml的cluster-name 一樣的名字   預設是elasticsearch  必須在本地的名字和伺服器端進行統一

不太清楚為何預設配置無法識别