IIS 7.0 - 默认网站无法正常工作 [英] IIS 7.0 - Default Web Site is not working
问题描述
刚才我在系统中添加了IIS。我尝试在IIS中启动默认网站。但它会抛出以下错误,
Just now I added IIS in my system. And I try to start Default Web Site in IIS. But it will throwing following error,
The format of the specified network name is invalid (Exception from HRESULT:0x800704BE)
这里是我的屏幕截图,
所以,我不知道我做了什么..?然后我看不出如何解决这个问题。
So, I don't know what i did..? Then I fail to see how can I solve this problem.
我应该如何解决这个异常?
How should I solve this exception?
推荐答案
可能是因为IP 127.0.0.1 - localhost可能无法通过计算机监听
It may be because the IP 127.0.0.1 - localhost may not listen by computer
在命令提示符中使用以下命令检查:
Check with below command in command prompt:
netsh http show iplisten
它应该返回 127.0.0.1
。
如果它不存在则将其添加到使用以下命令:
If it is not there then add it to using below command:
netsh http add iplisten 127.0.0.1
如果IP地址成功添加,您会收到以下消息:
已成功添加IP地址。
If the IP address is successfully added, you receive the following message: IP address successfully added.
这篇关于IIS 7.0 - 默认网站无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!