Recently, while migrating IIS websites to a new server, I encountered "Service Unavailable HTTP Error 503. The service is unavailable." errors, but only for HTTPS, while HTTP worked fine. Depending on the scenario, the problem could have just as easily impacted HTTP.
The server was listening on port 443:
1Get-NetTCPConnection -LocalPort 443 -State Listen If you ever encounter a problem like this, stop the web publishing service:
1Stop-Service -Name w3svc -PassThru Then check to see if the server is still listening on port 443:
↧