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

I got a strange problem today.

When I type 127.0.0.1 in the browser it automatically changes back to the public address.

Can anyone please tell me what could be the possible issue ?

share|improve this question
1  
How about moer info...what browser, OS, ANYTHING else? –  KCotreau Jun 1 '11 at 12:40
    
It is a Windows machine, the behavior is same in both Chrome and IE. –  Supratik Jun 1 '11 at 13:04
add comment

2 Answers 2

I think there's a problem with your name resolution. Try flushing DNS cache by

  • Start -> Run -> type cmd
  • in command prompt, type ipconfig /flushdns

If it works cool!, else please provide following information:

What is the response of browser to "localhost".

What are the contents of C:\Windows\System32\drivers\etc\hosts

share|improve this answer
add comment

It is possible that you got HTTP redirect from server on 127.0.0.1. You could use Chrome Network tab (Tools -> Developer Tools) to check server response.

share|improve this answer
add comment

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.