This commit is contained in:
tanghc
2019-04-22 10:34:15 +08:00
parent e795f07107
commit c7f24e815c

View File

@@ -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