I cannot join my friends' worlds when my friends are connected to the same internet, this has happened to me since version 1.17 and it tells me a text called "connecting to a multiplayer game" and a minute and a half passes and it tells me "it has not been unable to connect to the world. Check your internet connection or restart minecraft" and when doing those two solutions I get the same error. It happens to me in worlds without mods (I play bedrock on PC) and in worlds with mods
Related issues
Comments

Thank you for your report!
We're tracking this issue in MCPE-36190, 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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 BDS 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.