Localhost Not Opening

I have windows 7 and Bitdefender 2010 installed on it.


I aslo have IIS 7 installed on my Machine.


Before installing Bitdefender 2010, when I put http://localhost in my browser it was opening the default IIS 7 start up page.


But after installing Bitdefender 2010


when I put http://localhost in browser it gives error message "Internet Explorer cannot display the webpage"


But if I put http://127.0.0.1/ it opens default IIS 7 start up page.


Please help me to solve this problem.

Comments

  • jayx1y1x2y2
    edited December 2009
    I have windows 7 and Bitdefender 2010 installed on it.


    I aslo have IIS 7 installed on my Machine.


    Before installing Bitdefender 2010, when I put http://localhost in my browser it was opening the default IIS 7 start up page.


    But after installing Bitdefender 2010


    when I put http://localhost in browser it gives error message "Internet Explorer cannot display the webpage"


    But if I put http://127.0.0.1/ it opens default IIS 7 start up page.


    Please help me to solve this problem.


    Alright, i know many of you may be having this problem. Here's the solution:


    1. Go to [system Drive]:\Windows\System32\drivers\etc


    2. In the etc folder, Locate a file called "hosts", and gain full read/write access privileges over it.


    3. Add the line "127.0.0.1 localhost" (without quotes) as the last line in the file.


    4. Save the file.


    5. You're all set to access your localhost <img class=" />

  • Alright, i know many of you may be having this problem. Here's the solution:


    1. Go to [system Drive]:\Windows\System32\drivers\etc


    2. In the etc folder, Locate a file called "hosts", and gain full read/write access privileges over it.


    3. Add the line "127.0.0.1 localhost" (without quotes) as the last line in the file.


    4. Save the file.


    5. You're all set to access your localhost <img class=" />


    Thank You very Much....


    Configuration changes you mentioned worked for me.


    Now I am able to open http://localhost/ in my browser.


    Can you please explain why this happened?