org.apache.zookeeper.ClientCnxn - Opening socket connection to server

时间:2024-04-11 17:26:41

org.apache.zookeeper.ClientCnxn - Opening socket connection to server 192.168.0.213/192.168.0.213:2181. Will not attempt to authenticate using SASL (unknown error)

org.apache.zookeeper.ClientCnxn - Opening socket connection to server

解决方案,服务器中检查以下内容:

1.  zookeeper的服务没有开启

    执行./zkServer.sh start

2.  访问不到zookeeper中心是因为   需要关闭防火墙:service iptables stop 否则访问不到2181端口

3.  注意配置中的zookeeper的ip地址是否写错