码迷,mamicode.com
首页 > 其他好文 > 详细

elasticsearch报错:None of the configured nodes are available: []

时间:2016-04-29 16:26:32      阅读:312      评论:0      收藏:0      [点我收藏+]

标签:

问题:在内网测试的时候可以正常访问,但是部署到外网上客户端连接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/51263153

elasticsearch报错:None of the configured nodes are available: []

标签:

原文地址:http://blog.csdn.net/lu_wei_wei/article/details/51263133

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!