An existing connection was forcibly closed error

January 2023 · 4 minute read
An existing connection was forcibly closed by the remote host

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:
  • Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  • Click Start Scan to find Windows issues that could be causing PC problems.
  • Click Repair All to fix issues affecting your computer's security and performance
  • Some users have posted on game support forums about an An existing connection was forcibly closed error message. The full error message states:

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

    The error arises when users try to play games that require connection with a server, such as Minecraft. As a result, players can’t join the games’ servers.

    How do I fix the connection forcibly closed error?

    1. Select Enable operating system’s restricted environment

    Users have confirmed they were able to fix the remote host error by selecting the Enable operating system’s restricted environment option.

  • To do that, press the Windows key + R keyboard shortcut.
  • Enter Control Panel in Run’s text box, and press the Return keyboard key.
    Control Panel window An Existing Connection was Forcibly Closed by the Remote Host
  • Click System Security and Programs to open a list of applets for that category.
  • Then click Java to open the window in the shot directly below.
    Java Control Panel An Existing Connection was Forcibly Closed by the Remote Host
  • Select the Advanced tab on that window.
  • Then select the Enable operating system’s restricted environment option shown directly below.
    Enable the operating system's restricted environment option An Existing Connection was Forcibly Closed by the Remote Host
  • Select the Apply option.
  • Click OK to exit.
  • 2. Turn off antivirus software

    The remote host error might be due to third-party antivirus software blocking a game’s connection with server. So, turning off antivirus software might resolve the issue for some users.

    To disable an antivirus utility, right-click the system tray icon for it and select a disable or turn off option on its context menu.

    If the utility’s context menu includes a disable firewall setting, select that option as well. Then try playing the game with the antivirus software disabled.

    Disable Auto-Protect option An Existing Connection was Forcibly Closed by the Remote Host

    Looking for a reliable antivirus? Check out this article for our top picks!

    3. Adjust Windows’ firewall settings for Java SE Binary

    Some users might need to adjust Windows Defender Firewall’s app permission settings for Java Platform SE binary.

  • To do that, press the Windows key + S keyboard shortcut.
  • Input the keyword firewall in Windows’ search utility.
  • Then click Windows Defender Firewall to open that applet.
  • Click the Allow an app or feature through Windows Defender Firewall option on the left of the WDF applet.
  • Click the Change settings button.
  • Scroll down to the Java Platform SE binary check box options.
    Java Platform SE binary check boxes An Existing Connection was Forcibly Closed by the Remote Host
  • Select the Private check boxes for all the Java Platform SE binary features listed.
  • Click the OK button.
  • 4. Reinstall JDK

    Some users have said they’ve fixed the remote host error by reinstalling JDK (Java).

  • First, open the Run accessory.
  • Next, input appwiz.cpl in Run’s Open box; and click the OK option.
    The Windows uninstaller An Existing Connection was Forcibly Closed by the Remote Host
  • Select Java SE listed on Windows 10’s uninstaller.
  • Click Uninstall and Yes to remove Java SE.
  • Restart Windows after uninstalling Java SE.
  • Next, open a browser.
  • Click JDK Download for the latest version on the Java SE Downloads page.
  • Thereafter, install JDK with its setup wizard.
  • 5. Flush the DNS cache and restart router

    Some Minecraft Hypixel players have fixed the remote host error by flushing DNS cache.

  • Enter cmd in Run’s Open box and click OK to open the Command Prompt.
  • Input ipconfig /flushdns in the Prompt, and press the Enter key.
    The flushdns command An Existing Connection was Forcibly Closed by the Remote Host
  • Close the Command Prompt.
  • Restart your router after flushing DNS. You do that by unplugging the router, or pressing its on/off button.
  • Minecraft players can also try connecting with the Stuck.hypixel.net server, which might help fix the issue.
  • Those are some of the resolutions that have fixed the remote host error for players. They aren’t entirely guaranteed resolutions for all software the error arises for, but Minecraft players have confirmed those fixes.

    Let us know which of these solutions allowed you to play Minecraft again without any issues.

    Do so by leaving your feedback in the comments section below.

    ncG1vNJzZmivmaOxsMPSq5ypp6Kpe6S7zGicsaGjqbavs4ycpqemlZjBqrvNZp2oqpOer63FjJyjqKuVmXqjxYyrnKanpJp6qbvSrWY%3D