//端口查询
[[email protected] bin]# firewall-cmd --query-port=9090/tcp
no
//添加端口
[[email protected] bin]# firewall-cmd --add-port=9090/tcp --permanent
success
//重载防火墙
[[email protected] bin]# firewall-cmd --reload
success
//再次查询
[[email protected] bin]# firewall-cmd --query-port=9090/tcp
//yes
tomcat 安装
原文地址:https://www.cnblogs.com/jixiaoleng4/p/10935040.html
时间: 2024-10-08 22:46:31