开放端口 sudo firewall-cmd --permanent --add-port=8081/tcp 查看端口是否占用中 netstat -apn | grep 8080 重启防火墙 firewall-cmd --reload