Fix ‘Existing Connection Was Forcibly Closed by Remote Host’

Minecraft. What’s Minecraft? It is a sandbox, indie video game inspired by Infiniminer. Although only two years old, it is still in its beta phase. It has approximately 3.6 million users who have purchased the game, and customers are growing by about a million sales every quarter. Today more than 14 million customers have registered an account with Minecraft (Mojang AB) from all over the world. However, lately, some users have been complaining about an error – an Existing Connection was Forcibly Closed by the Remote Host Minecraft. It is a frequent error that has been troublesome to gamers.

Minecraft
Minecraft

Yet, one thing that will not vanish is Minecraft fans. Minecraft has won numerous awards, including PC Gamer’s Game of the Year, 2010 Indie of the Year, GDC’s Best Debut Game, Best Downloadable Game etc.

See Also: How to Fix the ERR_CONNECTION_TIMED_OUT Error (Step by Step)

A Little Info About the Error

Anyway, here we will need to know a little bit about the error. Then we will deal with the complete fixes to get rid of the Minecraft an existing connection was forcibly closed error, which displays like:

connection lost error on minecraft
connection lost error on minecraft

Minecraft error: Connection Lost
Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host.

The forcibly closed by remote host error signifies the issue with your computer network connection and fails to connect to the Minecraft server.
Well, many gamers managed to fix an existing connection was forcibly closed by the remote host Minecraft error by disabling the Windows Firewall or the security program installed on their computer.
Well, if this won’t work for you, then follow the workable solutions to troubleshooter the “Connection Lost Internal Exception: java.io.IOException” error in the Minecraft server.

Fix “An Existing Connection Was Forcibly Closed by the Remote Host Minecraft” Error: 6 Ways

Fix 1 – Disable Windows Firewall

As said above, many gamers managed to fix the Minecraft server error by disabling Windows Firewall, so very first follow the steps to turn it off:

  • Click on Start > choose Settings.
  • And open Update and Security > click on Windows Security.
windows update and security
windows update and security
  • Next, scroll down > click on Firewall and network protection.
  • Then click on the currently active network.
disable firewall
disable firewall
  • And turn off the Windows Firewall by toggling the switch.

Lastly, restart your computer and launch Minecraft and try to connect to the server, and check if the error An existing connection was forcibly closed by the remote host appears or not.

See Also: How to Fix Windows 10 Taskbar Frozen Issue | Top 7 Ways

Fix 2 – Restart Your Network

You can face the Minecraft server error java.io.ioexception error when your networks are unstable or not working properly. So, in this case, try to restart the network, and this may works for you to solve the glitches with the network.

Follow the steps to restart the home network:

  • Assure the router or modem is power on.

Pull the power from the router to turn it off.

unplug ethernet cable
unplug ethernet cable
  • Disconnect the Ethernet cable and leave the device for a couple of minutes.
  • Now reconnect the Ethernet cable > power on the router.

 

unplug the router ethernet
unplug the router ethernet
  • Then wait for all the LED indicators on the router to get back to normal.
  • And connect your computer to the network.

See Also: Ethernet Doesn’t Have A Valid IP Configuration In Windows 10 [FULL FIX]

If you connect through WIFI, then make sure to connect your system through a wired connection and check if the error vanishes or not.

Fix 3 – Modify the Server-Side View Distance

As per the users lowering the server view-distance, works for them to fix an existing connection was forcibly closed by the remote host error on your Minecraft server.
So, here it is suggested to change the server-side view distance.

Follow the steps to do so:

  • If the server is running, then stop it.
  • And click on Files > choose Cong Files.
  • Next select Server Settings > navigate to the View Distance.
    change view distance to 4
    change view distance to 4
  • Change it to 4 > scroll down > click Save.
  • And start your server.

Hope this works for you, but if not, then lower the player’s render distance to lower settings in the video settings.

Fix 4 – Utilize another DNS Address

Trying using another DNS address as this might works for you to fix the Minecraft server error.
Follow the steps to do so:

  • On the Taskbar, right-click the network icon> select Open Network & Internet settings.
  • Then click Change adapter options > locate the network connection used currently. And right-click on it > select Properties.
Netwrosk settings--change adapter options
Netwrosk settings–change adapter options
  • Next, double-click Internet Protocol Version 4 (TCP/IPv4) >to open its Properties.
  • Then check to Obtain an IP address automatically and Use the following DNS server addresses, > input Google DNS Public DNS address:
    change DNS server
    change DNS server

Preferred DNS server: 8.8.8.8

Alternate DNS server: 8.8.4.4

  • Lastly, click OK to save the changes.

Well, you can also use other third-party, public DNS server address if you want and try to start the server. Hope this works for you to solve an existing connection was forcibly closed by the remote host Minecraft error.

See Also: Windows 10 Update Error 0x8024a105 | 6 Ways To Fix

Fix 5 – Reinstall Java

If you still unable to connect to the Minecraft server and fails to get rid of the java.io.IOException error, then try to reinstall Java.
Follow the steps to do so:

  • Hit Windows Key + R > open Run > type control > hit OK.
    run command type 'control'
    run command type ‘control’
  • And click on Uninstall a program.
    uninstall programs
    unistall programs
  • Then, from the list of installed apps,> choose Java > click on Uninstall.
  • As, Uninstalled, download, and install the latest version of Java.
    uninstall Java
    uninstall Java
  • And restart the computer.

Hope this works for you, but if not, then reinstall Minecraft.

Fix 6 – Contact Minecraft Support Team

The last solution is to contact the Minecraft support team as they may help you to fix the issue. All you need to do is open a ticket and write down the issue with the error message Minecraft Internal exception java.io.ioexception: “An existing connection was forcibly closed by the remote host” and send it.

Minecraft Help Center
Minecraft Help Center

They might help you with the solution if none of the given works for you. Hopefully, now as the error is fixed, you can access the Minecraft server.

Conclusion

So, that is it. Here my job is done. I tried my best to provide the best possible solutions to Minecraft’s existing connection was forcibly closed by the remote host error. Make sure to follow the solutions given one by one till you find the one that works for you.

I really hope after following the solutions, your issue is resolved, and you are able to access the Minecraft Server.

See Also: Best FFXIV 90002 Fix | 4 Working Ways

Leave a Comment