Iis 设置本地主机时出现问题

Iis 设置本地主机时出现问题,iis,localhost,Iis,Localhost,我有windows 10,我想运行一些本地网站测试。为此,我需要设置IIS。我遵循此处概述的步骤,得到以下结果: 但在FIrefox中,当我键入localhost时,错误显示: Firefox无法在localhost上建立与服务器的连接 The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your

我有windows 10,我想运行一些本地网站测试。为此,我需要设置IIS。我遵循此处概述的步骤,得到以下结果:

但在FIrefox中,当我键入localhost时,错误显示:

Firefox无法在localhost上建立与服务器的连接

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
在chrome中,错误显示:

无法访问此网站

本地主机拒绝连接。 尝试: 检查连接 检查代理和防火墙 错误连接被拒绝

在edge中,错误显示:

嗯,我们到不了这一页。 试试这个 确保您拥有正确的网址: 刷新页面 寻找你想要的

它还表示在另一台带有Edge的机器上:

服务不可用 HTTP错误503。服务不可用。

在IE中,错误是在localhost上进行internet搜索

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
请告知

我发现这个网站:

这个呢

这个呢

首先,我注意到“原因1:HTTP错误503。如果相应Wep应用程序的应用程序池被停止、禁用或暂停,则服务不可用。或者应用程序池的给定用户标识可能因密码过期或被锁定而无效。”

并与此相关:

我尝试了中列出的步骤。有两个不同的步骤列表。第一个步骤无法解决问题,第二个步骤列表失败,因为我不知道如何生成新标识

另一个堆栈溢出页面上的原始海报,我明白了,放弃了

这是事件查看器,这有助于解决此问题

我在IIS中设置网站并获取服务器错误的经验是,这很可能是应用程序池配置错误。网站是用什么编程语言编写的

您可以尝试在应用程序池中更改.NET CLR版本,并尝试将其从集成模式更改为经典(或反之亦然)托管管道模式,看看这是否有帮助。您还可以尝试进入应用程序池的“高级设置”选项卡,并尝试启用32位应用程序

我还将向我的主机文件添加一个新的url,允许您使用除连接到网站之外的其他内容,特别是如果您正在设置多个网站