小编Geo*_*kos的帖子

Azure 虚拟机无法为网站提供服务

我无法让运行 Windows Server 2012 的 Azure VM 从其公共静态 IP 提供 IIS 默认网站。

  1. 创建了一个运行 Win Server 2012 R2 的 VM 并安装了 Web 服务器角色。

  2. 浏览到 localhost 并可以看到默认网站正在运行

  3. 在 Azure 中,将 VM 配置为具有公共静态 IP 地址并将 DNS 名称添加到公开解析为静态 IP 的 azure。

  4. 在 Azure 中,为 VM 网络接口配置了一个安全组并添加了以下规则:

    allow-http    source: any    source port: 80    dest: any    dest port: 80    service: tcp/80    action: allow
    allow-https    source: any    source port: 80    dest: any    dest port: 80    service: tcp/443    action: allow
    
    Run Code Online (Sandbox Code Playgroud)
  5. 在 Windows 防火墙设置中,确保启用了允许 HTTP 和 HTTPS 流量的规则。(我也尝试过完全禁用防火墙)。

  6. 在 …

networking virtual-machines azure

3
推荐指数
1
解决办法
7026
查看次数

标签 统计

azure ×1

networking ×1

virtual-machines ×1