- 本人采用三台服务器搭建zookeeper,并未使用本地虚拟机搭建。
- 搭建过程中使用:./zkServer.sh start-foreground
- 提示服务器间的端口访问失败。
- 经过查阅,在zookeeper/conf/zoo.cfg后添加:
quorumListenOnAllIPs=true。解决 - 被这个问题差点搞晕了。
- 记得开启相关的端口,我使用宝塔面板打开的相关端口
记录一下zookeeper集群搭建失败的问题。zookeeper Cannot assign requested address (Bind failed)
最新推荐文章于 2021-08-31 18:08:10 发布