ElasticSearch 2.0升级现在无法连接到服务器 [英] ElasticSearch 2.0 upgrade now can't connect to server
问题描述
所以,我今天从1.7.2升级到2.0.0,现在我无法访问我的服务器如果我使用本地主机在服务器上卷曲,一切正常,如果我使用机器名称在机器上卷曲,则我拒绝连接。
升级是唯一的事情发生了变化任何想法,为什么弹性是没有看到任何东西,当我使用机器名称?
谢谢,
Nick
FWIW你可以在 elasticsearch.yml
中设置 network.host:0.0.0.0
或按
启动: bin / elasticsearch --network.host 0.0.0.0
这样你应该能够访问 loopback
以及 non_loopback
I've had an elastic server cluster running for a few months now. 2 node cluster. Pretty simple, things were working pretty nice.
So, I upgraded from 1.7.2 to 2.0.0 today and now I can't get to my servers.... If I curl on the server using local host, everything works fine, if I curl on the machine using it's machine name, I get connection refused.
Upgrading is the only thing that's changed. Any ideas why elastic isn't seeing anything when I use the machine name?
Thanks, Nick
FWIW you can set the network.host: 0.0.0.0
in elasticsearch.yml
or launch as
follows : bin/elasticsearch --network.host 0.0.0.0
This way you should be able to access the cluster in loopback
as well as non_loopback
这篇关于ElasticSearch 2.0升级现在无法连接到服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!