win7 访问localhost 出现错误 Invalid Verb

本地localhost访问出现 ERROR 400 Invalid Verb,win7上.appache 和 IIS 都有问题。在IE8和chrome上尝试了是同样的问题
但是127.0.0.1可访问。

未尝试删除IPV6协议。
尝试修改hosts文件 127.0.0.1 localhost 没有反应。修改为127.0.0.1 xxx 则可以使用 xxx访问到本地网站。
curl localhost 可以正确返回页面。

  • Connected to localhost (::1) port 10043 (#0) > GET / HTTP/1.1 > Host: localhost:10043 > User-Agent: curl/7.45.0 > Accept: / > < HTTP/1.1 200 OK < Cache-Control: private < Content-Type: text/html; charset=utf-8 < Server: Microsoft-IIS/8.0 < X-AspNetMvc-Version: 4.0 < X-AspNet-Version: 4.0.30319 < X-SourceFiles: =?UTF-8?B?RDpcRnVpbmVcTmV0RXVjcFwx5byA5Y+R5bqTXDXpobnnm67nvJbno IFcMemhueebrua6kOeggVxFVUNQLldlYg==?= < X-Powered-By: ASP.NET < Date: Wed, 13 Apr 2016 04:09:58 GMT < Content-Length: 10381 < 尝试过恢复internet选项。

appache下访问localhost结果200 但是页面没有出来。

Remote Address:

Request URL:
http://localhost:10081/
Request Method:
GET
Status Code:

200 OK

IIS下访问localhost结果400 页面显示错误
Bad Request - Invalid Verb
HTTP Error 400. The request verb is invalid.

Remote Address:

Request URL:
http://localhost:1196/
Request Method:
GET
Status Code:

400 Bad Request
Response Headersview source
Connection:
close
Content-Length:
326
Content-Type:
text/html; charset=us-ascii
Date:
Tue, 12 Apr 2016 15:03:24 GMT
Server:
Microsoft-HTTPAPI/2.0
连接被关闭了。。

经过了两天之后放置后莫名其妙的又好了。到昨晚关机前还是有故障的。回忆了一下。有可能发生系统更改的操作。
查杀了一次木马,但没有结果,这个可能性比较小。
新开了一个.net WEB项目。由于localhost无法使用。于是手动修改了IIS配置。之后在VS2013多次打开解决方案的过程中。又自动对配置进行了修改。
也许这个过程中间修正了一些配置。