localhost not working RRS feed

  • Question

  • User1214642152 posted

    Hi folks..,

    i have  a very strange problem with localhost.

    my localhost is working for few minutes and after that it not working?

    i even reinstalled IIS, still the problem persists..

    i am using windows Xp and Vs2005..

    if anyone can guide me what the exact problem is?

    thank you

    Thursday, February 11, 2010 12:23 PM

All replies

  • User-1528094326 posted

    You mean that when you try to contact or ping localhost it doesn't resolve? 

    Thursday, February 11, 2010 12:37 PM
  • User1214642152 posted

    when i try ping in cmd prompt, it is connected perfectly but when i enter http://localhost from my browser, i am getting message as "Internet Explorer cannot display the page" ;-(

    Thursday, February 11, 2010 12:53 PM
  • User-1528094326 posted

    You need to make certain of a few things. Just use this as a checklist.

    1: Are you using IIS on your local comp? If no then localhost won't work.
    2: Did you make sure to dump them in the Default Websites folder? If not then it probably won't work without reconfiguration.
    3: If this is on your local machine, go into IIS and make sure you set the Default Document to your startup file. By that I mean if your first page is Default.aspx or maybe its something like Login.aspx if you have to login. Then you will need to set it.
    4: Is your Default document in the root of the directly? If not then it won't work either. IIS Websites or Virtual Directories work by accessing the root of the folder you tell them to look in. 

    Thursday, February 11, 2010 1:04 PM
  • User1214642152 posted

    thank you for replying Mr.N_EvilScott ..

    everything is set perfectly..

    as i said earlier,my localhost works fine initially, ie (my scenario is like this now) when i shutdown my system and start again, localhost is working fine and within few minutes i am getting this problem(internet explorer cannot display this webpage).

    Thursday, February 11, 2010 1:38 PM
  • User-1853252149 posted

    Any details?  What did your logs show?  What happens when you use the IP address instead of "localhost"?  How anout the system name?


    Thursday, February 11, 2010 2:17 PM
  • User1214642152 posted

    i just found that whenever i connect to my internet, the localhost is not working..

    do i need to change port ? any guidance please..


    Saturday, February 13, 2010 11:32 PM
  • User-1853252149 posted

    Stop using "localhost" and use the system name or IP instead.


    Tuesday, February 16, 2010 2:37 PM
  • User-1011786642 posted

    It is possible that a program such as Skype is taking up your TCP port 80. For example I had simmilar issue and when I closed Skype, resseted IIS and everything was fine.

    Thursday, February 18, 2010 6:26 AM