0x80072EFD: A connection with the server could not be established
The client found the server but could not open a connection to it. A closed port, a stopped web site or a firewall is the usual reason.
What 0x80072EFD means
The client resolved the server name, then failed to connect. It is the WinHTTP "cannot connect" error. The server refused the connection or the path is blocked.
In SCCM you see it in ccmsetup.log, LocationServices.log, CcmMessaging.log, WUAHandler.log and smsts.log. The target is a management point, distribution point or software update point.
Common causes
- IIS or the web site is stopped on the site system.
- A firewall blocks the port, such as 80, 443, 8530 or 8531.
- The client uses the wrong port, for example HTTP against a site system that only accepts HTTPS.
- A WinHTTP proxy is set and cannot reach the server.
- The server is down or restarting.
How to fix 0x80072EFD
-
Find the address and port in the log
Open the log that shows the code. Read the address on the line above it. Note the server, the port and whether it is HTTP or HTTPS.
-
Test the port
Run the test below from the client. If
TcpTestSucceededis False, test again from a computer on the same network as the server. That shows whether the server or the network path is at fault. -
Check IIS on the site system
On the server, open IIS Manager. Confirm that the Default Web Site, or the WSUS Administration site, is started. Check that the World Wide Web Publishing Service is running. For a management point, read
MPControl.logon the server. It should show status code 200. -
Check ports and the HTTPS setting
In the console, open Administration, Site Configuration, Sites. Open the site properties and read the Ports tab. Then check whether the site system is set to HTTP or HTTPS. Clients must be able to reach that port through every firewall.
-
Check the proxy
Run
netsh winhttp show proxy. Bypass the proxy for internal servers, or reset it withnetsh winhttp reset proxy.
Commands that help
Test-NetConnection -ComputerName mp.contoso.com -Port 80
Test-NetConnection -ComputerName mp.contoso.com -Port 443
Turn any hex or decimal error code into its meaning, or search every code on this site.