localhost打不开 127.0.0.1可以打开,,,或 hosts 文件不起作用的解决方法

找到host文件

 

一般在 c:/windws/system32/drivers/etc下面

 

看没有这句 127.0.0.1       localhost 
 注意,127.0.0.1前面不要有空格,,还有如果有 :::1   localhost 这句,,将它删除.OK

posted @ 2012-06-19 22:19  suncms  阅读(538)  评论(0编辑  收藏  举报