Fix 'Internal Exception: java.net.SocketException: Connection reset' in Minecraft
You are playing on a server and suddenly get thrown back to the menu with "Internal Exception: java.net.SocketException: Connection reset". Sometimes it happens once. Sometimes it happens every few minutes. The message sounds technical, but it only means one thing: the connection between your game and the server was cut off without a clean goodbye. The work is figuring out which side cut it.
Step 1: Is it just you, or everyone?
This one question sorts out most cases.
- Everyone got kicked at the same moment: the problem is the server. It crashed, restarted, or froze long enough to drop everyone. Look at the server console or the latest crash report. Our guide on reading a crash report helps here.
- Only you get kicked, and others stay on: the problem is between your computer and the server. That is usually your network.
- You get kicked from every server, not just this one: it is definitely your network or computer.
Fixes when it is only you
Work down this list. Test after each step.
1. Use a wired connection or move closer to the router
Wi-Fi that drops for even a second can reset the connection. If you can, plug in an ethernet cable. If not, move closer to the router or switch to the 5 GHz band if your router has one. Weak signal through several walls is a very common cause.
2. Turn off your VPN
VPNs add another hop that can drop or reset connections, and some VPN servers time out idle game traffic. Disconnect it fully and try again.
3. Check antivirus and firewall software
Some security suites inspect network traffic and can cut long-running connections. Temporarily disable the web or network protection part, then test. If that fixes it, add an exception for Minecraft's Java (javaw.exe on Windows) instead of leaving protection off.
4. Restart your router and computer
A full power cycle clears a lot of odd router states. Unplug the router for 30 seconds, plug it back in, and restart your PC.
5. Stop other heavy network use
Large downloads, game updates or video uploads on the same network can starve your game connection. Pause them and see if the kicks stop.
6. Try another network
Use a phone hotspot for a few minutes as a test. If you stay connected on the hotspot, the problem is your home network or your internet provider, not Minecraft.
Fixes when it is the server
If everyone drops together, the server is the place to look.
- It crashed: the console or
crash-reportsfolder will show why. A common reason is running out of memory. See out of memory crash fix. - It froze: heavy lag spikes can stall the server so long that connections drop. That is a performance problem. Start with why is my Minecraft server lagging.
- It restarted on a schedule: if kicks happen at the same time every day, check whether a scheduled restart is set. See automatic server restarts.
Modded servers and big packets
On heavily modded servers, you may see connection resets while joining or when opening a large inventory or storage system. Big modpacks send a lot of data at once, and some network setups do not handle it well.
What helps:
- Make sure your client and server have exactly the same mods and versions. Mismatches can cause odd disconnects as well as join errors. See mismatched and missing mods.
- Update the modpack on both sides. Pack updates often fix networking bugs in individual mods.
- If kicks always happen near one block or storage system, a single mod is probably the cause. Its issue tracker is the best place to check.
Related errors
- "Connection timed out": the game could not reach the server at all. See why can't my friends join.
- "Failed to verify username": an account login problem, not a network one. See failed to verify username fix.
- "Unknown host": the server address could not be found. See unknown host fix.
Quick checklist
- Only you, or everyone? That tells you which side to fix.
- Wired connection or stronger Wi-Fi.
- VPN off.
- Antivirus network protection tested.
- Router and PC restarted.
- If everyone drops: check the server console for a crash or freeze.
Most of the time, the fix is a more stable connection on the player's side.
Want a server that just runs fast?
FreaksMC runs on NVMe hardware with performance-tuned defaults baked in - pre-optimized Paper, sane view distances, and one-click world pre-generation. Set up in 60 seconds.
See plans from $3/mo