« Previous Next »

Answered Thread: LOCALHOST sites not responding after Windows 7 upgrade

Last post 10-27-2009 9:30 PM by steve schofield. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 10-23-2009, 4:24 AM

    LOCALHOST sites not responding after Windows 7 upgrade

    Hi All,

    I apologise in advance if this is not the correct forum.  Yesterday I upgraded my development machine from VISTA Ultimate to Windows 7 Ultimate.  After the upgrade I am unable to access any one of my LOCALHOST applications (All ASP.NET C#).  I have a mix of WEB Apps and WEB services.

    Am I missing something really obvious?  I just get the message back "Internet Explorer Cannot Display the WEB page"  ...as though you were trying to access a WEB page offline...

    Many thanks

    Les

  • 10-23-2009, 9:11 AM In reply to

    Re: LOCALHOST sites not responding after Windows 7 upgrade

    Firsdt, you should never use localhost anyway, it's not a useful address.  But check and make sure that localhost still resolves to 127.0.0.1 and that your IIS is set to respond on all unassigned IP's.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 10-24-2009, 1:53 PM In reply to

    Re: LOCALHOST sites not responding after Windows 7 upgrade

    Thank you jeff,

    Didn't know that I shouldn't be using LocalHost.  But the 127.0.0.1 local IP does work.

    Les

  • 10-24-2009, 11:10 PM In reply to

    Re: LOCALHOST sites not responding after Windows 7 upgrade

    try commenting out the ::1 in hosts file.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 10-27-2009, 8:27 PM In reply to

    • bikeoid
    • Not Ranked
    • Joined on 10-28-2009, 12:18 AM
    • Posts 1

    Answered Re: LOCALHOST sites not responding after Windows 7 upgrade

     I ran into this after a Vista -> Win 7 upgrade. To attempt to diagnose go to the IIS control panel object to see if it shows any messages.  In my case, something was listening on port 80,but did not respond in any meaningful way.   The IIS Manager also gave a message that settings did not migrate during the upgrade.   I removed the IIS windows components, then re-added them.

      Finally, the World Wide Web Publishing and Windows Process Activation Services were not running.    I had to enable the WPAS and start it, then WWW Publishing, then I could access my web sites.

     I disagree with others that you should not be localhost - there is nothing wrong with using localhost, and it's a perfectly valid way of addressing with your local computer for development or other purposes.

     

  • 10-27-2009, 9:30 PM In reply to

    Re: LOCALHOST sites not responding after Windows 7 upgrade

    I tend to agree with localhost.  I don't use it a lot personally, but then again I don't develop much anymore.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
Page 1 of 1 (6 items)
Microsoft Communities