If you receive the Minecraft unable to connect to the world problem, restart your computer and the game. If the error notice persists, you may need to remove your buddy and re-add them. After then, see if you can connect to your friend's virtual world.