asp.net永远等待localhost

use*_*536 17 asp.net iis visual-studio-2013 asp.net-mvc-5

突然,今天早上我打开电脑,启动了视觉工作室...无论我尝试了什么,无论是运行还是调试,无论浏览器是什么(chrome/firefox/IE 11),它都在等待localhost永远.

如果我将它部署到azure,只需登录(持续集成)它就像一个魅力:http://couleur-emotion.azurewebsites.net/(我正在重建我的木乃伊绘画网站,以学习ASP.net MVC )

我读过两个:

在我写的时候,它一直在等待localhost超过15分钟.我重新启动了VS,甚至重新启动了计算机...尝试在Firefox上尝试ipv6禁用等等

我注意到(不知道它是否有用)用127.0.0.1替换localhost会抛出:

Bad Request - Invalid Hostname
HTTP Error 400. The request hostname is invalid. 
Run Code Online (Sandbox Code Playgroud)

还有我的C:\ Windows\System32\drivers\etc\hosts(不变)

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost
Run Code Online (Sandbox Code Playgroud)

任何的想法 ?我无法在3小时内显示单个本地主页.

hus*_*sys 13

检查防火墙是否已阻塞端口,将应用程序的动态端口更改为某个固定端口


rsc*_*rsc 5

我有一个类似的问题,我的网站永远“等待”。尝试重新启动网站,但什么也没有。

我无法重新启动机器(我很确定它会解决)所以我一直在调查可能是什么。

我发现,就我而言,解决方案是更改网站的“应用程序池”。看起来当前的崩溃或类似的东西(我能够停止它但不能再次启动它),所以我创建了一个新的应用程序池,该站点再次开始工作。