Minecraft

How to Fix Minecraft java.net.SocketException Connection Reset Error

Minecraft
Minecraft

Minecraft is a very popular open-world sandbox game where players need to explore, survive, and build. On PC, Minecraft is available in two different versions: Standard or “Bedrock” and Java Edition. The Java Edition of Minecraft is available on Windows, Linux, and Mac. Unfortunately, many players are experiencing a java.net.SocketException connection reset error in Minecraft. This particular error prevents players from playing and enjoying the game. If you want to get rid of this error, let’s learn how to fix it.

Fixing Minecraft java.net.SocketException Connection Reset Error

According to multiple reports, it has been noticed that java.net.SocketException connection reset error occurs only on Minecraft 1.17 Java Edition on PC. When this error appears, players disconnect from the main server and are not able to play the game after that. Well, there are some potential workarounds you can try to fix this issue.

When you experience this issue, Mojang has recommended trying the following troubleshooting tips to get rid of the java.net.SocketException connection reset error in Minecraft.

– Disable all VPN services, Firewalls, Antiviruses, Hamachi

– Try to use another internet connection such as if you are using a WiFi connection to play the game, then try to use a wireless hotspot or USB tethering.

– Next, try to create a new profile in the launcher. To do this – Go to Installations >> New, set it to 1.18.2 (do not set the latest release), and then try to use a new profile.

– Install Java 16

If these methods don’t work, you can also try the following other workarounds to fix java.net.SocketException connection reset error in Minecraft.

Reset Your Network Stack

Resetting your network stack is also one of the best methods to fix the error. Here is how you can do it:

1. Run Command Prompt as administrator

2. Type netsh winsock reset and press Enter

3. Input netsh int ip reset and press Enter

4. Type ipconfig /release and press Enter

5. Then type ipconfig /renew and press Enter

6. Type ipconfig /flushdns and press Enter

Enable Window Auto-Tuning and Receive-Side Scaling

Mostly this error occurs when the PC has Hamachi (A VPN service) installed on it. So, try to enable this feature:

1. Run Command Prompt as administrator.

2. Type netsh interface tcp show global and press Enter.

3. If “Receive-Side Scaling State” is disabled, type netsh interface tcp set global rss=enabled and press Enter.

4. If “Receive Window Auto-Tuning Level” is disabled, type netsh interface tcp set global autotuninglevel=normal and press Enter.

5. Relaunch Minecraft and try the realm/server again. The issue should be fixed now.

Allow OpenJDK16 through Windows Firewall

Even after trying the above methods, if the issue persists, then allow OpenJDK16 through Windows Firewall. For this:

1. Press the Windows Key and type “firewall.”

2. Click on “Allow an app through Windows Firewall.”

3. In the new window, look for “OpenJDK Platform Binary.”

4. If you find it, make sure both the checkbox on the left and both checkboxes on the right are checked. Then click OK and try Minecraft again.

5. If you do not find that entry, click Change Settings, then click Allow another app…

Click Browse, then navigate to:

C:\Program Files (x86)\Minecraft\runtime\java-runtime-alpha\windows-x64\java-runtime-alpha\bin\javaw.exe

and click Open, then Add.

6. Click OK and try Minecraft again.

If nothing works, your last resort is to contact the Minecraft Community Support team for further assistance and advice.

Also check – How to fix Minecraft exit error code 1: Fix game ended with bad state error.

You may also like

Leave a reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.