Zookeeper 错误 “Will not attempt to authenticate using SASL (unknown error)" 解决

因为zookeeper直接部署在外网阿里云上。在连接外网的时候,总是下面的错误:

Will not attempt to authenticate using SASL (unknown error)

刚开始以为是程序的问题。后来网上提示是IP地址映射关系的。发现改了没有效果。

后来才想起,服务器上装了宝塔服务。发现宝塔服务的安全里面对准入和准出作了限制,在里面添加了zkClient的端口2181。然后就OK了。

发布了127 篇原创文章 · 获赞 132 · 访问量 366万+

猜你喜欢

转载自blog.csdn.net/m290345792/article/details/90258600