java.net.SocketException: Connection reset
Troubleshoot the java.net.SocketException: Connection reset error on your Minecraft server. Learn how to diagnose network and client-side issues.
The java.net.SocketException: Connection reset error occurs when a network connection is abruptly terminated by the remote host. In the context of a Minecraft server, this typically means the connection between the client and the server was severed unexpectedly, often due to network instability, firewall interference, or server-side timeouts.
Potential Causes
- Unstable Internet Connection: Packet loss or high latency on either the client or server side.
- Firewall/Antivirus: Security software blocking the connection between the client and the server.
- Server Overload: If the server is struggling to process ticks, it may drop connections to maintain stability.
- ISP Throttling: Some ISPs may flag persistent connections as suspicious and reset them.
How to fix it
1. Check your network stability
Ensure your local internet connection is stable. If you are using a Wi-Fi connection, try switching to a wired Ethernet cable to rule out signal interference.
2. Disable security software
Temporarily disable Windows Firewall or third-party antivirus software on your local machine. If the error stops, you may need to add an exception for your Minecraft client.
3. Check server performance
If your server is lagging, it may be struggling to handle incoming packets.
On AwakeNode:
Use the File Manager to check your latest.log for "Can't keep up!" warnings. If your server is consistently overloaded, consider upgrading your plan in the client area to increase your allocated resources.
On other hosts:
Check your server console for performance warnings. If you need to adjust your startup flags or memory allocation, you will need to manually edit your server's startup script or server.properties file.
4. Contact Support
If the issue persists despite these steps, it may be a routing issue between your location and the server node.
On AwakeNode: Open a ticket with our support team. We can investigate the network path and check for any hardware-level issues on the host node.
On other hosts: Contact your hosting provider's support team and provide them with the specific timestamp of the error from your server logs.
Frequently asked questions
Related guides
error
java.lang.OutOfMemoryError: Java heap space
Learn how to resolve the java.lang.OutOfMemoryError: Java heap space on your Minecraft server by adjusting memory allocation or upgrading your plan.
error
Error: Could not reserve enough space for object heap
Learn how to resolve the 'Could not reserve enough space for object heap' error on your Minecraft server by adjusting RAM allocation and startup flags.
error
java.lang.UnsupportedClassVersionError
Learn how to resolve the java.lang.UnsupportedClassVersionError on your Minecraft server by matching your Java version to your server's requirements.
Ready to host your Minecraft server?
Spin up a high-performance UK server in seconds - AMD Ryzen, NVMe, DDoS protection, and 24/7 support from £1/mo.