我已经在Oracle 云。它附带安装了 UFW。我希望 VM 运行 Nginx Web 服务器。根据许多博客文章,我只能说执行ufw allow "Nginx Full"
或sudo ufw allow 80
。我都做了,只是为了确保万无一失……
现在的输出sudo ufw status verbose
是:
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
To Action From
-- ------ ----
22/tcp (OpenSSH) ALLOW IN Anywhere
80,443/tcp (Nginx Full) ALLOW IN Anywhere
80 ALLOW IN Anywhere
22/tcp (OpenSSH (v6)) ALLOW IN Anywhere (v6)
80,443/tcp (Nginx Full (v6)) ALLOW IN Anywhere (v6)
80 (v6) ALLOW IN Anywhere (v6)
这似乎很有道理。但是,80 端口仍然无法从外部访问。
有任何故障排除的想法吗?