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

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张图片

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

1.  zookeeper的服务没有开启

    执行./zkServer.sh start

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

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

你可能感兴趣的:(java,dubbo启动,zookepper)