如遇Zookeeper,Nginx等连接不到,可以试试关闭防火墙 查看防火墙状态 systemctl status firewalld 暂时关闭防火墙 systemctl stop firewalld 永久关闭防火墙 systemctl disable firewalld 重启防火墙 systemctl enable firewalld 再次访问 end