elasticsearch報錯:None of the configured nodes are available: []

問題:在內網測試的時候能夠正常訪問,可是部署到外網上客戶端鏈接elasticsearch報錯:None of the configured nodes are available: [] 
緣由:默認狀況下,ElasticSearch使用0.0.0.0地址,併爲http傳輸開啓9200-9300端口,爲節點到節點的通訊開啓9300-9400端口,部署到外網修改修改elasticsearch.yml配置 
操做: 
修改elasticsearch.yml 
將network.host、transport.tcp.port、http.port從新配置成本身真實的ip便可 
這裏寫圖片描述 
從新啓動es便可 
具體配置說明請看http://blog.csdn.net/lu_wei_wei/article/details/51263153html

版權聲明:本文爲博主原創文章,轉載請必須註明米四度的思考地址:http://blog.csdn.net/lu_wei_wei https://blog.csdn.net/lu_wei_wei/article/details/51263133node

文章標籤: elasticsearchelasticsearch

我的分類: ElasticSearchtcp

所屬專欄: elasticsearch學習筆記學習

相關文章
相關標籤/搜索