【问题标题】:Unable to reach web site locally on Azure web role无法通过 Azure Web 角色访问本地网站
【发布时间】:2017-07-17 00:00:44
【问题描述】:

我在单一网络角色的 Windows Azure 云服务上部署多个网站。我添加了必需的绑定和主机文件条目。当我运行 ping 命令时,我也会收到响应。

但是,当 RDP 到 VM 并以 localhost 身份在 VM 上本地浏览站点时 无法访问并显示 404 not found。

来自 IIS 事件的错误

The application '/' belonging to site '1' has an invalid AppPoolId 'DefaultAppPool' set.  Therefore, the application will be ignored.

【问题讨论】:

    标签: azure azure-web-roles


    【解决方案1】:

    当 RDP 到 VM 并在 VM 上以 localhost 本地浏览站点时,它无法访问并显示 404 not found。

    access the desktop of your web role running in Azure 并将一个新网站添加到您的Web 服务器,我可以在本地浏览该网站。如果可能,您可以尝试创建一个新网站来服务器静态 html 文件并检查它是否正常工作,或者您可以将绑定和您的应用程序的详细信息分享给我们。

    添加网站:

    设置:

    应用程序池:

    在本地浏览网站:

    属于站点“1”的应用程序“/”设置了无效的 AppPoolId“DefaultAppPool”。因此,应用程序将被忽略。

    部分社区成员在this so thread遇到类似问题,您可以检查是否缺少任何.dll文件或使用了32位库。

    【讨论】:

      猜你喜欢
      • 2011-04-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-11-23
      • 2012-06-01
      • 2020-05-16
      • 1970-01-01
      相关资源
      最近更新 更多