I play Minecraft on W10 and my friend plays it on Nintendo Switch. He is the world host. The world doesn't appear in the "Friends" tab, but he can invite me. However, i always get an error "Unable to connect to world".
We've both checked our NAT type and it's opened, our XBox settings are right too.
Related issues
Comments

Thank you for your report!
We're actually already tracking this issue at MCPE-36190, so I will resolve and link this ticket 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:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki