开启8080端口
firewall-cmd --permanent --add-port=8080/tcp
firewall-cmd --reload
重定向80端口到8080端口
firewall-cmd --zone=public --remove-port=80/tcp --permanent
firewall-cmd --add-forward-port=port=80:proto=tcp:toport=8080
firewall-cmd --reload
firewall-cmd --permanent --add-port=8080/tcp
firewall-cmd --reload
firewall-cmd --zone=public --remove-port=80/tcp --permanent
firewall-cmd --add-forward-port=port=80:proto=tcp:toport=8080
firewall-cmd --reload