1.停止防火墙
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# systemctl status firewalld
2.切换到zookpper的bin目录下
./zkServer.sh start //启动服务
./zkCli.sh -server localhost:2181 //客户端开放端口
./zkServer.sh status //查看状态
./zkServer.sh stop //停止
2024-01-09 18:26:16
1.停止防火墙
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# systemctl status firewalld
2.切换到zookpper的bin目录下
./zkServer.sh start //启动服务
./zkCli.sh -server localhost:2181 //客户端开放端口
./zkServer.sh status //查看状态
./zkServer.sh stop //停止