Replying to @NeverTrustNico
This issue is typically caused by your firewall not allowing Java to pass through. We recommend adding Java as an exception to your firewall or temporarily disabling it to test if that's the issue. ^LK

Jun 13, 2023 · 4:17 AM UTC

1
Replying to @MojangSupport
using only windows defender just let it through and still doesn't work only happens with realms, multiplayer works just fine
1
Gotcha. In that case, please complete our request form at aka.ms/Minecraft-Support so our Realms team can quickly and safely assist with your question! ^LK