【发布时间】:2011-11-05 20:53:37
【问题描述】:
我正在使用 Visual Studio 2010(MVC3 Razor)和 Windows 7 做一个 Web 项目。
我的默认浏览器是 IE。当我运行该项目时,该网站与 url 完美结合
当我复制相同的 url 并尝试在 Chrome 或 Firefox 中运行该网站时,它会显示以下错误。
错误
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: http://localhost:49824/
Connection to 127.0.0.1 failed.
The system returned: (111) Connection refused
The remote host or network may be down. Please try the request again.
Your cache administrator is webmaster.
我已重建解决方案并将 URL 添加到允许的站点。但问题仍然存在。 我应该如何解决这个问题?
【问题讨论】:
标签: visual-studio-2010 asp.net-mvc-3 razor localhost