There are other answers below:
Hacks to Connect to The World in MinecraftAdditional HacksFinal WordsServer ErrorThe first problem that can cause the “Friend cannot connect to the Minecraft server” error is that you might not have sent a real invite to your friend or anyone else who wants to join your server. In short, it is a connection error when the computer you are on is trying to establish a connection t…Add Your Friend AgainYou should probably restart your computer once you’ve tried rebooting Minecraft. Re-adding the friends is another possibility. If you still remain connected to the world of a stranger, remove them as a friend and re-add them. This alteration has benefited several players.
I can’t join a friends world on Minecraft Bedrock Edition. I have tried for the past few days to try and join my friends’ games’ and it won’t allow me. Some friends can join but others can’t, and it’s different for each person. I am able to join a couple of them with no hassle, but I an unable to join others.
After checking that and everything is OK and the “friend can’t connect to Minecraft server” issue still occurs, you can try the next solutions. Fix 2: Send Your Friend Your Public IP Address You will most likely send your private IP address …
Why aren’t my friends able to join my Minecraft server? Because you and your friends may be playing Minecraft on various versions or platforms, your pals will be unable to join your server. Not having the proper port forwarding on your router may also be a problem. It’s aggravating not to be able to play with your buddies.
There could be two reasons that I can think of straight away 1. you don’t have the same update as your friend 2. You are not connected two the same internet Share
Minecraft’s friend list is saved against your account and is not saved locally; instead, it is fetched from the servers. If there is any issue or corruption in the friend list, you will not be able to connect to your friend’s world. Friends have different mechanisms for chat and worlds as compared to strangers in the game.
I had the same problem but fixed it, i can join my PC on LAN but my PC cant join my laptop, Go to your firewall security, then go Firewall Properties, then it should show you domain, private and public profiles, go to your public profile and click where it says “Protected Network Areas”: [Customize]” click customize and uncheck all settings you see, then there you go.
Another common reason why you may not be able to join your friend’s world in Minecraft may be limitations or settings on your Xbox Live account.
Make sure you check your join code in the pause menu if it doesn’t work try pressing the refresh button. If that doesn’t work I’ll look more into it.
The first one which tops our list is corruption in the friend list. Minecraft’s friend-list is saved against your account and is not saved locally; instead, it is fetched from the servers. If there is any issue or corruption in the friend-list, you will not be able to connect to your friend’s world.Occupation: Network Engineer