I am unable to connect to my friend’s worlds online. We both use the Nintendo switch version of Minecraft. Whenever I try to connect I am stuck on the “Locating Server” screen. I have tried restarting the switch, shutting down the switch, restarting internet, changing multiplayer settings off and on again, changing skins, restarting the application, connecting to the world via Nintendo profile, connecting to the world via Xbox profile, checking my internet settings, checking to make sure I’m connected to both Nintendo profile and Xbox profile, and trying to see if he was able to connect to my worlds (he wasn’t able to). If there’s a solution PLEASE tell me. This is incredibly annoying because this only happens with this one friend and I can connect just fine with other people.
Related issues
Comments

Thank you for your report!
We're tracking this issue as MCPE-34846 so I've requested this report be resolved and linked as a duplicate.
If you would like to add a vote and any new information to the main ticket it would be appreciated.
Quick Links:
Issue Guidelines – Community Support – Customer Support – Game Wiki