Http错误503服务不可用 [英] HTTP Error 503, the service is unavailable

查看:883
本文介绍了Http错误503服务不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一般都很擅长设置Web服务器。我在Windows 8上安装了IIS 8,我正在尝试在本地设置一个小站点,同时进行一些开发。在IIS中我选择添加站点,给出一个名称,指向我有一个index.html文件的位置(我尝试了不同的位置,最新的 c:\inetpub \ www.root \ test -folder)并以其他方式使用所有默认设置。但是,当我尝试浏览到localhost时,我得到

I'm really new to setting up web servers in general. I've got IIS 8 on Windows 8, and I'm trying to set up a little site locally, while doing some development. In IIS I choose Add Site, give a name, points to a location where I have a index.html file (I've tried different locations, latest in a c:\inetpub\wwwroot\test -folder) and otherwise use all default settings. However, when I try to browse to localhost I get


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

HTTP Error 503. The service is unavailable.

我已验证池已启动,并且我已在目标文件夹上给出 IIS_IUSRS 完全控制

I've verified the pool is started, and I've given IIS_IUSRS Full Control on the target folder

我一直在搜索但没有找到解决我问题的任何内容,而且在EventLog或 C中没有任何帮助:\ Windows \ System32 \ LogFiles \ HTTPERR 文件夹

I've search around but not found anything that solved my issue, and there's nothing helpfull in the EventLog or in the C:\Windows\System32\LogFiles\HTTPERR folder

有人能告诉我什么是错的吗?

Could anyone tell me what's wrong?

推荐答案

可能是用户身份已过时,特别是如果您尝试启动已停止的应用程序池并且下一个请求再次失败。

It could be that the user identity is outdated, especially if you've tried starting a stopped app pool and the next request again fails.

在IIS中,转到服务器下的应用程序池,然后为您的网站找到正确的应用程序池,然后单击它。在右侧的高级设置菜单中,选择身份并进行更改并输入新用户和密码。再次单击您的应用程序池,然后选择回收以重新启动它。

In IIS, go to the Application Pools under the Server, then find the correct Application Pool for your web site, and click on it. On the Advanced Settings menu to the right, select Identity and change it and enter new user and password. Click on your Application Pool again, and select Recycle to restart it.

您还可以尝试查看事件查看器中的错误消息,在Windows日志,应用程序,详细信息选项卡下。

You can also try looking at the error message in Event Viewer, under Windows Logs, Application, Details tab.

编辑:jcolebrand 2017-05-04

jcolebrand 2017-05-04

I有这个错误,这是因为我正在做一些PowerShell脚本,所以我有 C:\\\\path 而不是 C:\路径。 Yay错别字!说这话,总是仔细检查你的键入值。

I had this error, and it was because I was doing some powershell scripting, so I had C:\\path instead of C:\path. Yay typos! Saying this to say, always double check your keyed-in values.

这篇关于Http错误503服务不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆