To adjust your Minecraft multiplayer settings, please follow these instructions.
Just launch Minecraft and head to the Account Management menu.
To adjust your account’s security and personal information settings, log in now.
To enable the “Join Multiplayer Games” setting, go to the “Xbox One/Windows 10 Online Safety” menu and click the “Allow” button.
Just submit this form, and then restart the game to enter multiplayer mode.