Go on a discovery tour with your friends again
How to Fix: Friends Can't Join You on Minecraft Java *FIXED* (WORKING IN 2023)
If all you want to do is play Minecraft, the last thing you want to see is an error message: “Unable to connect to world.” There are multiple reasons for this error message, but the good news is that you can fix most of them quickly.
If you're unable to join multiplayer games with your friends, here are a few things you can try to get out of the menu screen and back into the latest Minecraft update.
It’s the most common advice, but restarting your computer (or just restarting Minecraft) will fix a lot of issues. It doesn’t take much time either. Before you delve into other, more complicated solutions, see if a quick restart fixes the problem.