Whenever I try to play on a minecraft server (public or private) or a Minecraft Realm I crash after anywhere between 10 seconds and 10 minutes with the error message 'Internal Exception: java.io.IOException: An existing connection was forcibly removed by the remote host'.
I have uninstalled and reinstalled both Java and Minecraft multiple times each
I have changed my windows firewall settings
Any help would be greatly appreciated, can't play with my friends in this state.
Environment
Latest versions of Minecraft and Java, I use windows 10.
Thank you for your report!
We're actually already tracking this issue in MC-38565, so I resolved and linked this ticket as a duplicate.
However, that ticket has already been resolved. Depending on the resolution, that can mean that it either will be fixed in the next version, or that it is not considered a bug and won't be fixed.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.