美文网首页
阿里云无法访问Nginx问题

阿里云无法访问Nginx问题

作者: lenny611 | 来源:发表于2021-08-23 22:07 被阅读0次

前提:
1.阿里云安全组已经开放端口
2.ping阿里云公网ip正常

如果仍不能访问:
手动开放80端口

[root@LinuxOparation sbin]# iptables -I INPUT -p tcp --dport 80 -j ACCEPT
[root@LinuxOparation sbin]# firewall-cmd --permanent --add-port=80/tcp
success

再次访问


image.png

相关文章

网友评论

      本文标题:阿里云无法访问Nginx问题

      本文链接:https://www.haomeiwen.com/subject/fthriltx.html