1.查看开放的端口
firewall-cmd --list-ports
2.防护墙放行3306端口
firewall-cmd --zone=public --add-port=3306/tcp --permanent
3.重启防火墙,使设置生效
systemctl reload firewalld
标签:--,cmd,端口,小庞,放行,LINUX,3306,firewall From: https://www.cnblogs.com/pxyblog/p/16961561.html
1.查看开放的端口
firewall-cmd --list-ports
2.防护墙放行3306端口
firewall-cmd --zone=public --add-port=3306/tcp --permanent
3.重启防火墙,使设置生效
systemctl reload firewalld
标签:--,cmd,端口,小庞,放行,LINUX,3306,firewall From: https://www.cnblogs.com/pxyblog/p/16961561.html