My girlfriend and I are trying to play on each other's worlds, but we continue to receive issues such as getting stuck at "Connecting to multiplayer game," "Locating server," and getting "Unable to connect." However, we are able to join the public servers such as CubeCraft. In addition, both of our servers have been made in the past few months. Both of our wifis also have strong connections to the Switch, so we do not think that it wifi is the problem. Why is it not letting us join each other's worlds?
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
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! Please report any issues in Discord or Reddit