Home » How-To » Gaming » How to Fix “internal exception java.net.socketexception connection reset” in Minecraft

How to Fix “internal exception java.net.socketexception connection reset” in Minecraft

To fix the “internal exception java.net.socketexception connection reset” error in Minecraft, you can either use a free VPN or change your DNS servers.

Alternatively, you can try uninstalling Hamachi (if you’ve installed it) and reducing your render distance in Minecraft.

The “internal exception java.net.socketexception connection reset” error (connection lost) is one of the most common errors in Minecraft.

The error affects versions 1.7 and up.

It usually happens in Minecraft Realms, but it can happen in multiplayer servers as well.

When you join a server and play for a few seconds, you’ll be disconnected from it.

Here are 4 methods to fix the “internal exception java.net.socketexception connection reset” error in Minecraft:

Method 1: Use a free VPN

The first method is to use a free VPN like ProtonVPN.

Many users reported that they managed to fix the “internal exception java.net.socketexception connection reset” error in Minecraft by connecting to a VPN.

A plausible explanation for this is that it changes your IP address.

There are multiple free VPNs that you can use.

I recommend using ProtonVPN because it’s very reputable.

Firstly, go to protonvpn.com/free-vpn/ and click on “Get ProtonVPN free”.

Secondly, select the “Free” plan, create an account, and download ProtonVPN.

After you’ve downloaded ProtonVPN, connect to any free country.

Lastly, try joining the Minecraft server again.

This time, you shouldn’t get the “connection reset” error.

If you’re still getting the error message, you can try the next method.

Method 2: Change your DNS servers

The second method is to change your DNS servers to Google’s.

Many users managed to fix the “internal exception java.net.socketexception connection reset” error by doing this.

Here’s how to change your DNS servers:

  1. Open the Control Panel.
  2. Click on “Network and Internet”.
  3. Select “View network status and tasks”.
  4. Click on “Ethernet” next to “Connections”.
  5. Click on “Properties”.
  6. Select “Internet Protocol Version 4 (TCP/IPv4)”.
  7. Select “Use the following DNS server addresses”.
  8. Enter “8.8.8.8” as your preferred DNS server.
  9. Enter “8.8.4.4” as your secondary DNS server.

Once you’re done, restart your PC and try joining the Minecraft server again.

This time, you shouldn’t get the “connection reset” error.

Otherwise, you can try the next method.

Method 3: Uninstall Hamachi

internal exception java.net.socketexception connection reset

If you have Hamachi installed, you need to uninstall it.

A Reddit user found out that Hamachi was causing the Java error in Minecraft.

After they’ve uninstalled Hamachi, the error was fixed.

Here’s how to uninstall Hamachi:

  1. Go to the Control Panel, search for Hamachi, and uninstall it.
  2. Run the Command Prompt as an administrator.
  3. Type “netsh interface tcp show global”.
  4. Check if “Receive Window Auto-Tuning Level” is disabled. If it is disabled, type, “netsh interface tcp set global autotuninglevel=normal” to enable it.
  5. Lastly, type, “netsh interface tcp set global rss=enabled”.
  6. If both “netsh interface tcp set global autotuninglevel=normal and “netsh interface tcp set global rss=enabled” return with an “OK”, then you’re all set.

By doing this, your download speed will also be increased.

If this method does not fix the error, you can try the final one below.

Method 4: Reduce your render distance

The final method is to reduce your render distance in Minecraft.

You can also fix the lag in Minecraft by reducing other graphic settings.

Firstly, open Minecraft and join a single-player map.

Once you’re in Minecraft, click “Esc” on your keyboard, and click on “Options…”.

Select “Video Settings” to change your video settings.

Reduce your render distance to 8 chunks and below.

You can also set your “Graphics” to “Fast”, turn off “Smooth Lighting”, and reduce your simulation distance.

By doing this, Minecraft will be less laggy and the “internal exception java.net.socketexception connection reset” error will be fixed.

Conclusion

The Java Socket Exception error (connection lost) can happen even if your internet connection is fine.

Currently, Microsoft is aware of the error.

However, they haven’t provided a solution to it yet.

In addition, there isn’t a one-size-fits-all solution as each device is different.

Hence, the best way forward is to try each of the methods mentioned in this article to fix the error.

Keep in mind that using a free VPN might cause Minecraft to lag.

If you want faster internet speed, you need to subscribe to a paid plan.

If using a VPN fixes the “internal exception java.net.socketexception connection reset” error, then I highly recommend subscribing to a paid plan.

In the worst-case scenario, you need to use another device to play Minecraft.

Further reading

400+ Funny, Cool, And Best Gaming Names

390+ Good, Cool, And Best Xbox Names For Your Gamertag

How to Fix “Multiplayer is disabled” in Minecraft

Tags

About the author

Lim How Wei

Lim How Wei is the founder of followchain.org, with 8+ years of experience in Social Media Marketing and 4+ years of experience as an active investor in stocks and cryptocurrencies. He has researched, tested, and written thousands of articles ranging from social media platforms to messaging apps.

Lim has been quoted and referenced by major publications and media companies like WikiHow, Fast Company, HuffPost, Vice, New York Post, The Conversation, and many others. One of his articles about the gig economy was quoted by Joe Rogan who hosts The Joe Rogan Experience (arguably the most popular podcast in the world), in the This Past Weekend podcast by Theo Von.

In his free time, Lim plays multiple games like Genshin Impact, League of Legends, Counter-Strike, Hearthstone, RuneScape, and many others. He creates guides, walkthroughs, solutions, and more on games that he plays to help other players with their progression.