From c7f24e815c56d9e1ec5a19030ec7fb24323910da Mon Sep 17 00:00:00 2001 From: tanghc Date: Mon, 22 Apr 2019 10:34:15 +0800 Subject: [PATCH] update --- doc/docs/files/90100_常见问题.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/docs/files/90100_常见问题.md b/doc/docs/files/90100_常见问题.md index fc858126..8558e792 100644 --- a/doc/docs/files/90100_常见问题.md +++ b/doc/docs/files/90100_常见问题.md @@ -1,6 +1,12 @@ # 常见问题 -- 启动Zookeeper报错Will not attempt to authenticate using SASL +- Socket error occurred: localhost/0:0:0:0:0:0:0:1:2181: Connection refused + +检查本地zookeeper有没启动,如果zookeeper在其他机器上,修改application-dev.yml + +```yaml +cloud: + zookeeper: + connect-string: ip:2181 +``` -有可能是zookeeper.jar版本号跟你的zookeeper不一致造成的。我用的是3.4.12,去pom.xml改下版本号试试。 -再不行,绑定下host,参考这这篇文章:https://www.cnblogs.com/yuanyifei1/p/8652042.html