Share this article
Improve this guide
FIX: An existing connection was forcibly closed error
4 min. read
Updated onOctober 4, 2023
updated onOctober 4, 2023
Share this article
Improve this guide
Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more
Key notes
Some users have posted on game support forums about anAn existing connection was forcibly closederror message. The fullerror messagestates:
Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remotehost.
Theerrorarises when users try to play games that require connection with a server, suchas 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 theEnable operating system’s restricted environmentoption.
2. Turn off antivirus software
The remotehosterrormight 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 adisableorturn offoption 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.
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.
4. Reinstall JDK
Some users have said they’ve fixed the remote host error by reinstalling JDK (Java).
5. Flush the DNS cache and restart router
Some Minecraft Hypixel players have fixed the remote host error by flushing DNS cache.
Those are some of the resolutions that have fixed the remotehosterrorfor players. They aren’t entirely guaranteed resolutions for allsoftwaretheerrorarises 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.
[wl_navigator]
More about the topics:Minecraft Issues,windows fixes
Matthew Adams
Windows Hardware Expert
Matthew is a freelancer who has produced a variety of articles on various topics related to technology. His main focus is the Windows OS and all the things surrounding it.
He is passionate about the tech world, always staying up-to-date with the latest and greatest. With an analytical view, he likes problem-solving, focusing on errors and their causes.
In his free time, he likes to read and write about history and tries to always develop new skills.
User forum
0 messages
Sort by:LatestOldestMost Votes
Comment*
Name*
Email*
Commenting as.Not you?
Save information for future comments
Comment
Δ
Matthew Adams
Windows Hardware Expert
He is passionate about everything surrounding Microsoft’s OS, focusing on troubleshooting guides & tips for everyday problems.