Skip to content
MtrXTools

A connection attempt failed because the connected party did not properly respond after a period of time

The connection timed out

Seen in .NET (SocketException 10060), Python on Windows (WinError 10060), Windows apps

Windows got no answer to the TCP connection attempt (WSAETIMEDOUT, 10060), usually because packets are silently dropped.

Common causes

  • A firewall, security group or ISP filter drops traffic to the port.
  • The host is down or the IP address is wrong.
  • A proxy is required on this network but not configured.

How to fix it

  1. Check the port answers: Test-NetConnection host -Port 443.
  2. Check firewall rules on both ends and in the cloud provider.
  3. Configure the proxy if the network requires one.
Check the port from outside

Got a different message? Paste it into the error explainer.

Related errors

All 32 Languages & runtimes errors