Ever since I moved to a new residence and swapped from AT&T to Comcast for internet using my own Modem/Router, I've been having issues connecting to my realms on Minecraft, single player is fine, only the realms portion. Sometimes I can play for an hour, sometimes its only seconds before I get kicked off and get a socket exception error, before it used to say "connection forcibly closed by remote host". I've got solid internet @ 400mb/s, ethernet wired, the only realm difference is I'm using my own modem/router I guess. I am not sure if the issue started with 1.17 dropping because this did happen around the same time, but I had not played Minecraft for a while until I moved to a new home so I cannot reference whether ISP changes are the issue or if it is a Minecraft server issue. I've done so many methods to try to fix this I've lost count. Any information is appreciated as Minecraft support states it is difficult to diagnose a issue remotely. the only thing I haven't actually done is deleting my realms servers and just restarting.
Linked issues
Comments

Thank you for your report!
We're tracking this issue in MC-227913, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
๐ Bug Tracker Guidelines โ ๐ฌ Community Support โ ๐ง Mojang Support
๐ Project Summary โ โ๏ธ Feedback and Suggestions โ ๐ Game Wiki โ ๐ FAQs
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit
Duplicate ofย MC-227913.