centos7默认安装了防火墙firewalld永久开放端口firewall-cmd --add-port=8080/tcp --permanent重新加载生效开放的端口firewall-cmd --reload