IMG_20221013_030740.jpg

注意切换到 root 角色

//切换root角色(我是CentOS)
sudo su root

👉 首先查看防火墙是否开启

systemctl status firewalld
开启状态是绿色的,第三行有个绿色的 active (running)

👉 关闭防火墙

systemctl stop firewalld

👉 永久关闭,防止重启自启动

systemctl disable firewalld.service
8
1,708
文章标题:宝塔面板开启防火墙后无法访问
文章链接:https://yuanm.ren/post/428.html
发布日期:2022-10-13
最后修改时间:2022年10月15日 20:14

comment-avatar
2022年11月24日 回复

开防火墙有这个问题吗?我的不会。

comment-avatar
2022年11月25日 回复

那可能是我的问题吧,我对这方面不懂

comment-avatar
2022年11月02日 回复

看到你的文章,感觉很不错,想与你友情链接
网站名:电脑教程网
网站:https://dnjcw.com.cn/
同意的话给我发邮件Internetyewu@163.com

comment-avatar
2022年11月02日 回复

不好意思啊,我站只加个人生活博客

comment-avatar
2022年10月25日 回复

自带的防火墙还是要用上,BT的可以不用

comment-avatar
2022年10月26日 回复

不会搞liunx😂,我写程序都是用框架,应该用不上防火墙的

comment-avatar
2022年10月15日 回复

感觉以后用得到,先进去收藏夹吧

comment-avatar
2022年10月15日 回复

程序能用就行,千万别动他😂

当前浏览器版本低,建议升级