首页 > 系统相关 >启动 nginx 成功之后通过 IP 访问失败

启动 nginx 成功之后通过 IP 访问失败

时间:2023-02-23 17:33:05浏览次数:32  
标签:service nginx IP 防火墙 访问 systemctl

查看防火墙状态。输入命令:
systemctl status firewalld.service

发现防火墙发开的,我们将防火墙关闭,输入命令:
systemctl stop firewalld.service
然后在查看防火墙状态,发现是关闭状态。

然后通过 ip+端口访问 nginx,访问成功。

再不行就应该是阿里云那边安全组设置的问题

标签:service,nginx,IP,防火墙,访问,systemctl
From: https://www.cnblogs.com/fangdsg/p/17148865.html

相关文章