elasticsearch報 NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1

1. elasticsearch的版本:elasticsearch-6.4.1        jdk的版本:jdk1.8   調用接口報如下錯誤:   2.解決方法: 修改es配置文件(elasticsearch-6.4.1\config\elasticsearch.yml) network.host:服務器IP地址與項目中的配置文件裏的cluster-nodes: 127.0.0.1:9300一
相關文章
相關標籤/搜索