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