centos防火牆開發新端口

防火牆開放新端口
tcp

firewall-cmd --zone=public --add-port=3002/tcp --permanent

#從新加載防火牆,才能生效code

firewall-cmd --reload
相關文章
相關標籤/搜索