firewall-cmd --permanent --add-service=http
firewall-cmd --permanent --zone=trusted --add-port=80/tcp
Add port 8080 for external network access
firewall-cmd --permanent --add -port=8080/tcp
open the corresponding port
firewall-cmd --permanent --zone=public --add-port=5672/tcp
firewall-cmd --permanent --zone=public --add-port=15672/tcp
firewall -cmd --reload
restart firewall
systemctl restart firewalld
CentOS7 Firewall
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326200383&siteId=291194637
Recommended
Ranking