For some reason my localhost is not recognized.

I have this in my hosts file as I've always had:

127.0.0.1       localhost
::1             localhost

I did do a flushdns, not sure if that caused it. Then I tried a /registerdns in the command prompt.

I still have the same issue.

link|improve this question

56% accept rate
what did you do to know localhost is not recognized? – StampedeXV Apr 26 '10 at 16:46
If you ping localhost do you get 127.0.0.1? – direMonky Apr 26 '10 at 16:49
feedback

4 Answers

I thought the problem was resource based in terms of localhost not recognizable across the entire PC..but that was not really the problem it turnes out. The problem was IIS. I uninstalled and re-installed and it's fine now. No clue how this could have happened or what the problem was with IIS

link|improve this answer
feedback

Well, as my comment is not answered I try it with guessing:

Maybe you tried "localhost" in your browser? Then you need a running webserver. Maybe you don't have one?

Did you try

ping localhost
  • which IP address is resolved?
  • Is that also not working?
link|improve this answer
feedback

You didn't mention what web server you are using - did you install Apache or IIS?

link|improve this answer
in fact he didn't even mention if he was accessing a web server at all. – StampedeXV Apr 26 '10 at 18:06
feedback

reinstall your tcp/ip

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.