无法通过 Internet 访问 IIS 托管的 Web 应用程序

IIS hosted Web Application cannot accessible through Internet

我在 AWS 上的 Windows 服务器上托管了 Flask Web 应用程序,我做了以下工作

它在服务器上运行良好,但是当我尝试在我的 PC 的网络浏览器上访问它时说 it cannot reach took too long to respond

我还需要做什么?

在您的虚拟机中,不同的提供商有他们的安全策略。对于aws,即使您设置了入站端口规则,它也不会起作用。您还需要在他们的potal中设置入站规则。

(1) Open Windows firewall, Create an Inbound Port Rule.

(2) Directly in Amazon Web Service console, exactly in security groups/inbound.