Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Gaming»Minecraft»How to Fix Internal Exception java.net.SocketException Connection reset Error

How to Fix Internal Exception java.net.SocketException Connection reset Error

AnupBy AnupOctober 26, 2022
Internal Exception java.net.SocketException Connection reset

The “Internal Exception: java.net.SocketException: Connection reset” error can seem like a simple internet connectivity issue at first glance, but it’s much more than that. This error has been around for years and doesn’t have a single fixed cause.

Accordingly, users have managed to resolve it with various unlikely methods, like creating a new installation profile or adjusting the graphic settings. Others have placed the blame on server-side issues, although the devs continue to deny this.

Leaving that controversy aside, the important detail is that even though there’s no official patch from the devs, there are time-tested solutions that have helped numerous users. We’ve compiled a list of such fixes in this article.

Table of Contents

  • How to Fix “Internal Exception java.net.SocketException Connection reset” Error?
    • VPN-related Fixes
    • Check Network Configurations
    • Java-related Fixes
    • Migrate to Microsoft Account
    • Workaround with Epic Games Launcher
    • Create New Launcher Profile
    • Check Visual Settings
    • Server-related Fixes
    • Reinstall Minecraft

How to Fix “Internal Exception java.net.SocketException Connection reset” Error?

Before anything, restart your PC and router. Once that’s done, run Minecraft as an administrator. If the error persists, move on to the solutions to start troubleshooting.

VPN-related Fixes

disable vpn connecting

We’ve found this error to be primarily related to VPNs, both in good and bad ways. Some users reported that this error didn’t occur when connected to a VPN. Others found that a VPN didn’t help at first, but after trying a few different clients and server locations, the error no longer occurred.

On the other hand, some users first encountered this error when playing with a VPN. In such cases, it would be best to disable the VPN instead. 

Specifically, after limited testing, the Minecraft Community Support Discord members found Hamachi VPN to be one of the main causes of this error. If you’re using Hamachi VPN as well, we recommend uninstalling Hamachi, or atleast disabling it, and checking if the error is resolved.

Check Network Configurations

The reason VPNs have resolved this issue for so many users has to do with your IP address on the current network. As such, simply connecting to a different network could be all that’s needed to fix this error.

Configuring a couple of global TCP settings has also been one of the most successful fixes for this error. Here’s how you can apply this fix:

  1. Press Win + R, type cmd, and press CTRL + Shift + Enter.
  2. Type netsh interface tcp show global and press Enter.
    netsh-interface-tcp-show-global
  3. Check the value of Receive-Side Scaling State. If it’s disabled, type netsh interface tcp set global rss=enabled and press enter.
  4. Next, check the value of Receive Window Auto-Tuning Level. If it’s disabled, type netsh interface tcp set global autotuninglevel=normal and press enter.
    netsh-interface-tcp-set-global-autotuninglevel-normal
  5. Exit command prompt, launch Minecraft, and check if the error is resolved.

If the error persists, we recommend manually changing the DNS server as the next step. If that doesn’t help either, execute the commands listed below in command prompt. They’ll perform a bunch of useful actions, including clearing your DNS cache and renewing your IP.

  • ipconfig /release
  • ipconfig /flushdns
  • ipconfig /renew
    dns-flush
  • netsh winsock reset
  • netsh int ip reset
    netsh-winsock-int-ip-reset

Java-related Fixes

The official Minecraft launcher handles Java installation for Minecraft automatically, so generally, it’s not something the player needs to worry about. But when running dedicated servers on older Java versions, it is essential.

First, you’ll want to download and install the JDK. Some users have had success with the latest version, while others had to install older versions like JDK16 to resolve the error. So essentially, it’s worth trying out different versions.

Next, you’ll also want to ensure JDK is allowed through the firewall. If you’re using any third-party firewall, we recommend temporarily disabling it to check if the error gets fixed. In the case of Windows Firewall, here are the steps you should follow:

  1. Press Win + R, type control firewall.cpl, and press Enter.
  2. Click on Allow an app or feature through Windows Defender Firewall.
    allow-an-app-or-feature-through-firewall
  3. Click on Change settings and accept any prompts.
    change-firewall-settings
  4. Scroll down and select OpenJDK Platform Binary. Ensure the checkboxes in both the Private and Public fields are enabled.
  5. If you don’t find this entry, click on Allow another app > Browse.
    allow-another-app-firewall
  6. Select javaw.exe and select Open > Add from the following location:
    C:\Program Files (x86)\Minecraft\runtime\java-runtime-alpha\windows-x64\java-runtime-alpha\bin\
  7. Finally, press OK, launch Minecraft, and check if you still get the error.

Migrate to Microsoft Account

Some users found that the error stopped occurring after they migrated their Mojang accounts to Microsoft. The Minecraft Help Center has extensive guides that answer most of the common queries regarding the migration process, so we highly recommend referring to said guides if you need help with the migration.

Workaround with Epic Games Launcher

If you start downloading any random game in the Epic Games Launcher and then try to launch Minecraft, chances are, you won’t encounter the error. There’s no sound reasoning for why this workaround works, but the important part is that it did let countless users play without the error, so it’s worth trying.

Create New Launcher Profile

This is another solution recommended by Mojang, with a proven record. Here’s how you can use a new installation profile:

  1. Run the Minecraft launcher and click on Installations.
    minecraft-java-edition-launcher
  2. Click on New Installation and name it as you please.
  3. Set the version to an older one (e.g., 1.18.2 ) and try launching Minecraft.

Check Visual Settings

Downgrading the game graphics has resolved this error for numerous players. Even teleporting to an unmodified area has been helpful in some cases. This is possibly because the server is unable to handle how fast you’re loading the world at your current settings. Here’s what we recommend:

  1. In Minecraft, enter a different world if necessary and go to Options > Video Settings.
    minecraft-options-video-settings
  2. First, turn off Full screen and try lowering the resolution.
    minecraft-full-screen-toggle
  3. Restart Minecraft and check if the error is resolved.
  4. Reduce the Render Distance to 12 chunks or lower, then restart and check again. Additionally, toning down the Graphics and Simulation distance settings can help with lag.
    minecraft-render-distance
  5. Finally, one user also found that uninstalling all the texture packs fixed the problem. So, if the error still persists, this may be worth trying.

Server-related Fixes

There are a number of server-related solutions useful for resolving this error. We recommend trying them in the following order:

  • First, increase the server memory. The default amount (1GB) is known to cause connection issues and crashes as the limit is easily reached.
  • Try switching to a lower server version.
  • If you’re the host, you could try copying the private server files to another location. If you encounter problems moving any files, said files could be the cause of the error.
  • Additionally, starting a new world with a new server host could also help.

Reinstall Minecraft

If the error still persists, uninstalling and reinstalling Minecraft is likely the final option at this point. You’ll want to copy the saves from the .minecraft folder in %appdata% before uninstalling, though. Additionally, a PC reset is overkill for this error, but if you’ve backed up your files elsewhere and playing Minecraft means a lot to you, then this is an option to consider as well.

fix
Anup

Anup has been tinkering with PCs for over 15 years and writing professionally for almost 5. At Tech News Today, he mainly covers Windows systems, Linux, networking, and hardware-related topics.

Related Posts

how-to-find-buried-treasure-minecraft

How to Find Buried Treasure in Minecraft?

November 24, 2022
best-bow-enchantments-minecraft

Best Bow Enchantments in Minecraft

November 19, 2022
something-went-wrong-in-the-login-process-minecraft

[Solved] “Something Went Wrong in the Login Process” Error in Minecraft

July 30, 2022
no-applicable-app-licenses-found

How to Fix “No Applicable App Licenses Found” Error in Minecraft

July 29, 2022
best-faction-servers-minecraft

13 Best Minecraft Faction Servers in 2022

July 7, 2022
how-to-make-minecraft-look-realistic

How to Make Minecraft Look Realistic?

July 6, 2022
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
what is ghost of tsushima legends

What is the Ghost of Tsushima Legends Mode

January 12, 2023
raid 5 vs raid 10

RAID 5 Vs RAID 10 – Which One Is Better?

January 12, 2023
best-tv-settings-for-gaming

Best TV Settings for Gaming

January 9, 2023
You may also like
tv-screen-goes-black-randomly

TV Screen Goes Black Randomly? Try These 11 Fixes

January 15, 2023
how to find unique values in excel

How to Find Unique Values in Excel

January 15, 2023
how-to-open-and-use-chrome-settings

How to Open and Use Chrome Settings

January 16, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Editorial Guidelines
  • Fact-Checking Policy
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday.

Type above and press Enter to search. Press Esc to cancel.