开发者

http://localhost not working in firefox but it works in IE

While i was trying to browse my project through IIS i was not able to view it in firefox , but able to view in IE. Can anybody solve this issue?

steps i have done...

  1. I have hosted my project on IIS
  2. Browse like http://localhost/myproject in firefox and IE
开发者_JS百科

but able to do in IE but cannot access this in Firefox. But if i put my machine name or local IP address in place of localhost i was able to browse. I am pretty confused with this issue? Can anybody help me to tackle this issue?


Take a look at your hosts file in

C:\Windows\System32\drivers\etc

It may have a line like that

127.0.0.1       localhost

Try uncommenting it if it is, or you may find something wrong in this file. It is the file your browsers read to match names to IPs and override DNS info.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜