Home > Network Configuration

Windows Sockets error 10054

a nice image
By Genesis and SheilaUpdated on June 4th, 2022

What is error message '10054' in Windows Sockets?

Windows Sockets error 10054 is an error that usually occurs when an existing connection is forcibly closed by the remote host. This may happen when the peer application on the remote host is rebooted, stopped or the network interface is disabled. It could also happen when the connection is stopped because the keep-alive activity detected a failure in one or several of the operations in progress.

How can you fix 'error 10054' in Windows Sockets?

Some of the common fixes include:

  • Checking the peer to peer connection

Please see our in-depth walk-through solutions below.

1. Check Peer to Peer connection

According to Microsoft, the Windows Sockets error 10054 is a "connection reset by peer. An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, the host or remote network interface is disabled, or the remote host uses a hard close. This error may also result if a connection was broken due to keep-alive activity detecting a failure while one or more operations are in progress."

  1. Check if the address of the computer or host is correct.
    See it here on YouTube how to use network path.
  2. Check the other computer or the host, if it is still on or disabled. Also, check if your computer is blocked.
  3. Make sure the network between you and the other computer is still up.
    Check the medium such as ethernet cable, WiFi, router and switch.
  4. Check the network configuration of the other computer if it is unreachable.
    This includes the Firewall, Network sharing, and IP configuration.
  5. The computer or host might be flooded with a request, try another time.

2. Reset Network Configuration

The problem causing the “Windows Sockets error 10054” might be the network configuration of both the host and client. Try to use the YouTube Video tutorial here below.

  1. Click Windows Start and type Command Prompt.
  2. Right-click the Command prompt and select Run as Administrator.
  3. In the Command Prompt, type netsh winsock resetand press Enter key.
  4. Then type netsh int ip resetand press Enter key.
  5. Then type ipconfig /releaseand press Enter key.
  6. Then type ipconfig /renewand press Enter key.
  7. Then type ipconfig /flushdnsand press Enter key.
  8. Restart the PC.

https://youtu.be/XtdbT7qkkOA