ZooKeeper异常:Error connecting service It is probably not running

ZooKeeper安装后使用以下命令可以启动成功
bin/zkServer.sh start
但是使用下面命令查看启动状态,则报错误:
bin/zkServer.sh status

Error connecting service It is probably not running

经过查资料,在zoo.cfg配置文件中添加这一句后,即可解决问题:

原文地址:https://www.cnblogs.com/dreamboy/p/10608237.html