[root@localhost wzh]# firewall-cmd --state running [root@localhost wzh]# firewall-cmd --zone=public --add-port=9001/tcp --permanent success [root@localhost wzh]# firewall-cmd --reload success