Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
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
    
You didn't mention what web server you are using - did you install Apache or IIS? –  Grant Palin Apr 26 '10 at 17:12
    
in fact he didn't even mention if he was accessing a web server at all. –  StampedeXV Apr 26 '10 at 18:06

3 Answers 3

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

share|improve this answer

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?
share|improve this answer

reinstall your tcp/ip

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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