0. 查看防火墙状态
systemctl status firewalld
service firewalld start
service firewalld restart
service firewalld stop
1. 开启防火墙端口(9000)
firewall-cmd --zone=public --add-port=9000/tcp --permanent
2. 重启防火墙
systemctl restart firewalld.service
3. 查看端口开启情况
firewall-cmd --list-ports