Bagikan melalui


503 Server Unavailable failure with IIS 7.0

When working with IIS 7.0 in Vista if you are seeing this failure trying to access the webserver, there are couple of things to look for.

 1. Check if the Application Pool is running. You can click on the Application Pools option on the Left Pane of IIS 7.0 and check all running App pools.

2. You might have the URL https://+:80 reserved. Run netsh http show urlacl from a command window. If this shows an output similar to

     Reserved URL            : https://+:80/
        User: BUILTIN\IIS_IUSRS
            Listen: Yes
            Delegate: Yes
        User: BUILTIN\Administrators
            Listen: Yes
            Delegate: Yes
        User: NT AUTHORITY\NETWORK SERVICE
            Listen: Yes
            Delegate: Yes
            SDDL: D:(A;;GA;;;IS)(A;;GA;;;BA)(A;;GA;;;NS)

Then you have this port reserved which takes precedence over your https://localhost calls. Go ahead and remove this URL reservation by running the following command,

netsh http delete urlacl url=https://+:80/

Comments

  • Anonymous
    August 31, 2007
    Does this also apply to Windows Server 2008?

  • Anonymous
    September 02, 2007
    I haven't tested this myself. But this should apply to Windows Server 2008 as well.