ElasticSearch 2.0升级现在无法连接到服务器 [英] ElasticSearch 2.0 upgrade now can't connect to server

查看:116
本文介绍了ElasticSearch 2.0升级现在无法连接到服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经有一个弹性服务器集群运行了几个月了。 2节点集群。相当简单,事情工作相当不错。



所以,我今天从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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆