Skip to Content

Why Does Windows Error 10054 Keep Happening—and What Effective Solutions Actually Work?

What Causes Windows Error 10054 and How Can You Quickly Fix This Frustrating Issue?

Windows Error 10054 is a common network-related issue that interrupts connections between client applications and servers. The error message typically states: “An existing connection was forcibly closed by the remote host.” This problem is frequently discussed in technical forums due to its disruptive impact, especially in environments relying on stable remote connections.

Common Causes of Windows Error 10054

  • Firewall or Router Misconfiguration: Incorrect firewall rules or missing allowlist entries can block legitimate network traffic, resulting in forced connection closures.
  • Proxy Servers and Network Devices: Improperly configured proxies or routers may disrupt communication between endpoints.
  • Slow or Unstable Internet Connections: Fluctuations in network stability can cause abrupt disconnections.
  • Security Software Interference: Antivirus or security applications might mistakenly terminate connections.
  • Peer-to-Peer Application Settings: Some applications using peer-to-peer networking may trigger this error due to incompatible settings or network policies.

Effective Solutions for Windows Error 10054

Solution 1: Allowlist Required Domains in Firewall or Router

Review firewall and router settings to ensure all necessary domains are allowlisted.

Use tools like DNS Checker for websites or consult your email provider’s allowlist settings.

For network-based allowlists, inspect firewall rules or use network management tools.

Common domains to allow for services like LogMeIn and GoTo include:

*.logmein.com
*.logmeinrescue.com
*.logmein-enterprise.com
*.logme.in
*.hamachi.cc
*.internapcdn.net
*.LogMeIn123.com
*.123rescue.com
*.support.me
*.join.me

Solution 2: Expand the Range of Allowed Ports

By default, Windows limits the range of dynamic ports, which can restrict network traffic.

Increase the dynamic port range using the following commands in Command Prompt (run as Administrator):

netsh int ipv4 set dynamicport tcp start=8200 num=57336
netsh int ipv4 set dynamicport udp start=8200 num=57336
netsh int ipv4 show dynamicport tcp
netsh int ipv4 show dynamicport udp

Solution 3: Disable Peer-to-Peer Functionality in the Application

Some applications trigger Error 10054 due to peer-to-peer networking.

Disable this feature by editing the Windows Registry:

  1. Press Windows + R, type regedit, and press Enter.
  2. Navigate to:
    HKEY_LOCAL_MACHINE\SOFTWARE\LOGMEIN\V5\Net\NATUDP
  3. Right-click DisableEx (REG_DWORD), select Modify, and set the value to 1.
  4. Restart the related service (e.g., HV Host Service) via services.msc.

Always back up the registry before making changes to avoid system instability.

Key Takeaways

  • Windows Error 10054 is primarily a network connectivity issue caused by misconfigurations, unstable connections, or restrictive security settings.
  • Systematic troubleshooting—starting with firewall and port settings, then adjusting application features—can resolve the error and restore reliable connectivity.
  • Regularly reviewing network and security configurations helps prevent recurrence of this disruptive error.

By applying these targeted solutions, you can address the root causes of Windows Error 10054 and maintain a stable, productive computing environment.