Go to the main menu, click Edit world (the pencil icon) and go to Multiplayer, then click Enable multiplayer.
Go to the main menu, click Edit world (the pencil icon) and go to Multiplayer, then click Enable multiplayer.