So, you dont have to pay to play minecraft multiplayer on bedrock, - Microsoft Community.
Steps for Creating a Minecraft Server
1
Download the Latest Version of Java.
2
Download the Server.jar File.
3
Create Your Server Configuration Files.
4
Run Your Server.
5
Set Up Port Forwarding.
6
Configuring Server Properties.