Apparently this issue has plagued Realms for quite a while. I'll explain exactly what I've done to try to remedy these steps:
Let Java and all versions of it have full privilege through my firewall (which is just Windows Defender, I have nothing else).
Reinstall Minecraft: Java Edition and the launcher via deleting the entire .minecraft folder and uninstalling the launcher through Windows. I did this 3 times.
A full network reset via Windows settings
All of the steps listed in the MC-227913 bug report (which is not resolved).
Installed multiple different JDK versions, namely 16 and 17.
Viewed the log file located in %appdata%/.minecraft/logs (was not helpful, I guess it doesn't log connection issues?)
Used a HTTPS sniffer (namely Fiddler) to no avail (it doesn't hook properly to Minecraft for whatever reason).
Tested to make sure this is an issue isolated to Realms via trying to connect to various classic multiplayer servers.
Tested via a mobile hotspot, USB tethering, a VPN, and a wireless connection.
This issue has persisted throughout, I'll check this bug report daily if I'm not automatically emailed as I'd love to cooperate to find a solution, since I'm really interested in playing with some of my buddies, and I'm sure y'all never want to see this issue be posted ever again 🤣
Linked issues
Attachments
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.
That ticket has already been resolved as invalid. Please take a look at the parent ticket (MC-227913) and see if an explanation is provided there in the description of the ticket or in the comments for why this issue is invalid.
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! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
This ticket would still be considered as a duplicate of MC-227913, regardless of whether or not the provided instructions didn't assist in resolving the problem. For further assistance, please consult Community Support.