systenctl start firewalld;
firewall-cmd --zone=public --add-port=8080/tcp --permanent;
systemctl stop firewalld;
systemctl disable firewalld;
查看端口:
netstat -ntlp
systenctl start firewalld;
firewall-cmd --zone=public --add-port=8080/tcp --permanent;
systemctl stop firewalld;
systemctl disable firewalld;
查看端口:
netstat -ntlp