mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 12:56:28 +08:00
update
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user