关闭linux服务器防火墙

--全部关闭
 systemctl stop firewalld.service  #停止firewall
systemctl disable firewalld.service  #禁止firewall开机启动
 
--只开放某个端口
firewall-cmd --zone=public --add-port=8070/tcp --permanent 

猜你喜欢

转载自www.cnblogs.com/LynnChen/p/10740175.html
今日推荐