关于Linux下Nginx服务启动,通过浏览器无法访问的问题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/MonkeyBrothers/article/details/81201423

1.通过Linux查看Linux服务是否启动。

可以看到服务成功启动,但是在浏览器上还是无法访问。

解决办法:

添加 80 段端口配置

firewall-cmd --zone=public --add-port=80/tcp --permanent

重启防火墙

systemctl restart firewalld.service

结果:

猜你喜欢

转载自blog.csdn.net/MonkeyBrothers/article/details/81201423