When you try to start Microsoft Exchange Management Shell (EMS) or Microsoft Exchange Management Console (EMC) on a server that is running Microsoft Exchange 2010, you receive the following error:
Connecting to remote server failed with the following error message : The WinRM client sent a request to an HTTP server and got a response saying the requested HTTP URL was not available. This is usually returned by a HTTP server that does not support the WS-Management protocol. For more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) , PSRemotingTransportException
+ FullyQualifiedErrorId : PSSessionOpenFailed
The HTTP binding on the Default Web Site in Internet Information Services (IIS) is either missing or is invalid.
This error typically occurs in the following scenario:
- You are running multiple websites.
- You try to set up a redirect, for example, to https://mail.contoso.com/owa by requiring Secure Sockets Layer (SSL) on the Default Web Site.
- You create another website to do the redirect back to the SSL-enabled website.
Windows Remote PowerShell requires port 80 to be available on the Default Web Site. If you want to set up an automatic redirect to /owa and redirect http requests to https, follow the instructions in the section, "For a Configuration in Which SSL is Required on the Default Web Site or on the OWA Virtual Directory in IIS 7.0" on the following Microsoft website:
Article ID: 2027062 - Last Review: January 23, 2013 - Revision: 9.0
- Microsoft Exchange Server 2013 Enterprise
- Microsoft Exchange Server 2013 Standard
- Microsoft Exchange Server 2010 Enterprise
- Microsoft Exchange Server 2010 Standard
- Microsoft Exchange Server 2010 Service Pack 1