参考:https://blog.csdn.net/qq_22211217/article/details/80639492
我的是用的这一条:
7 防火墙拦截端口
systemctl status firewalld.service
-
systemctl stop firewalld.service #关闭防火墙
-
systemctl disable firewalld.service #禁止启动防火墙
解决zookeeper集群重启 Error contacting service. It is probably not running 问题