背景:
在Windos 上连接 CentOS 上的mysql 失败,问题是防火墙没有关闭,
但是systemctl stop firewalld后还不是行,运行service iptables stop就可以
linux 版本:
[root@localhost wwwroot]# cat /etc/redhat-release CentOS Linux release 7.8.2003 (Core)
iptables和firewalld的介绍与区别:
https://blog.csdn.net/Bilise/article/details/105372667?spm=1035.2023.3001.6557&utm_medium=distribute.pc_relevant_bbs_down.none-task-blog-2defaultOPENSEARCHRate-3.nonecase&depth_1-utm_source=distribute.pc_relevant_bbs_down.none-task-blog-2defaultOPENSEARCHRate-3.nonecase
https://blog.csdn.net/lishuan182/article/details/111581728?spm=1035.2023.3001.6557&utm_medium=distribute.pc_relevant_bbs_down.none-task-blog-2defaultOPENSEARCHRate-1.nonecase&depth_1-utm_source=distribute.pc_relevant_bbs_down.none-task-blog-2defaultOPENSEARCHRate-1.nonecase