Centos7下安装完宝塔面板,给的登录地址无法进入。
If you cannot access the panel, release the following port (8888|888|80|443|20|21) in the security group
这是Centos7默认没有开放这些端口,需要开放这些端口才能进入登录地址;
firewall-cmd --zone=public --add-port=8888/tcp --permanent

重新载入:
firewall-cmd --reload
![]()
查看开启的端口:
firewall-cmd --list-ports

关于Centos开启防火墙及特定端口,可以访问:https://blog.youkuaiyun.com/zll_0405/article/details/81208606
这篇博客写的很详细。

本文解决Centos7下安装宝塔面板后,因防火墙未开放指定端口导致无法访问面板的问题。提供了开放8888、888、80、443、20、21端口的命令,并指导如何重新加载防火墙设置及查看已开放端口。
1712

被折叠的 条评论
为什么被折叠?



