A common frustration for people when trying to play on servers and realms for Minecraft Java is the infamous “java.net.socketexception connection reset” error. As far as I’m aware, this problem has been around for years, and there’s an alarmingly little amount of information about it on any forum. I spent what could have well been a couple of hours combing the internet before finding something that works for me. This solution also worked for a friend of mine who’s had the issue for months, so I wanted to share it here. This works as of 1.19.3
Hamachi was the root of the issue for me, however other VPNs likely have the same results. Even if Hamachi has since been uninstalled, it can still interfere with online Minecraft. The following are the steps I needed to complete in order to resolve the issue.
- Find Command Prompt on your computer and right-click it, selecting Run as administrator.
- Type/paste “netsh interface TCP show global” and press Enter.
- If Receive-Side Scaling State is disabled, type “netsh interface TCP set global rss=enabled” and press Enter.
- If Receive Window Auto-Tuning Level is disabled, type “netsh interface TCP set global autotuninglevel=normal” and press Enter.
- Close CMD Prompt, restart Minecraft, and try the realm/server again.