【发布时间】:2017-08-07 15:50:54
【问题描述】:
我使用 VS 2012 已经有一段时间了,在发布或调试我的网站时没有遇到太多问题。
但就在今天,我尝试将我的网站发布到本地服务器上的新端口,之后每当我尝试使用“本地 ISS Web 服务器”或“Visual Studio 开发服务器”调试我的网站时,我的页面都会返回:
火狐:
Unable to connect
Firefox can’t establish a connection to the server at localhost:59617.
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.
铬:
This page isn’t working
localhost is currently unable to handle this request.
HTTP ERROR 503
奇怪的是,我仍然可以将网站发布到我们的服务器甚至本地并让它工作。只有在调试时它不起作用。我尝试重新启动计算机并尝试不同的端口,但没有任何运气。
我什至尝试像这个人那样修改我的主机文件:http://www.grumpydev.com/2009/03/12/strange-problem-unable-to-connect-to-the-aspnet-webserver-on-localhost/comment-page-1/#comment-73
但还是没有运气。
有什么建议吗?
【问题讨论】:
标签: c# asp.net web visual-studio-2012 iis-6