centOS常用命令 Posted on 2017-10-30 Edited on 2023-05-12 In server Views: CentOS 7 防火墙端口sudo firewall-cmd --zone=public --add-port=3000/tcp --permanentsudo firewall-cmd --reload 查看防火墙规则: firewall-cmd --list-all