本文以开放 8012 端口为例
systemctl status firewalld
firewall-cmd --permanent --add-port=8012/tcp firewall-cmd --reload
firewall-cmd --list-ports