Windows Sockets error 10054
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.
Solution 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.”
- Check if the address of the computer or host is correct.
See it here on YouTube how to use network path.
- Check the other computer or the host, if it is still on or disabled. Also, check if your computer is blocked.
- Make sure the network between you and the other computer is still up.
Check the medium such as ethernet cable, WiFi, router and switch.
- Check the network configuration of the other computer if it is unreachable.
This includes the Firewall, Network sharing, and IP configuration.
- The computer or host might be flooded with a request, try another time.
Solution 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.
- Click Windows Start and type Command Prompt.
- Right-click the Command prompt and select Run as Administrator.
- In the Command Prompt, type netsh winsock reset and press Enter key.
- Then type netsh int ip reset and press Enter key.
- Then type ipconfig /release and press Enter key.
- Then type ipconfig /renew and press Enter key.
- Then type ipconfig /flushdns and press Enter key.
- Restart the PC.