防火墙查看端口命令,防火墙开放端口 1、打开防火墙端口 firewall-cmd– zone=public– add-port=9000/TCP– permanent此处打开的是9000端口,要打开其他端口,只需将9000更换为其他端口 2、重启防火墙 systemctlrestartfirewalld.service 3,检查所有打开的端口,如果是Alibaba云,则必须设置安全组规则。 firewall-cmd—-list-ports Published by 风君子 独自遨游何稽首 揭天掀地慰生平 View all posts by 风君子