This is a basic tutorial for setting up port forwarding.
What is it?
Port-forwarding is the process of letting internet traffic reach your computer from the outside world. Normally, your internet router (the box connected to your telephone line and picking up your broadband signal) blocks traffic to your computer to prevent malicious attacks and hacking form the outside world. Certain ports are opened up which allow some traffic through, for example web pages are served through to your computer form the internet via port 8080 normally.
If you want to connect games like Minecraft Education Edition to the outside world, you will normally need to open up the port that they communicate on through your router to allow others to “see” your game and connect.
Ok. So, these instructions are for the person setting up the world on their home machine.
First you need to access your router via a web browser. The admin address of your router should be on the router itself and you will need your admin password. The address will be something like 192.168.1.256. You can usually find the router address printed on a label on the bottom or back of your router. The Admin Username and password (unless you have changed it) will be on the instructions that came with your router.
On a PC, you can find your router IP address by opening up Cortana and searching for “CMD”.
In the command prompt window, at the prompt “>” type in “ipconfig” and press enter. You will get a display similar to the one below. I have blurred out the details for security reasons, however you ware looking for the “default Gateway” circled in red in the image below.
In this case, the router IP address is 192.168.254.1
On a Mac
Finding the IP address of your router on a Mac.
Browse to “Network” and open the advanced settings.
Navigate to the TCP/IP settings and you will see your router address as below.
Then, depending on your router software, you log in with your username and password. Then look for “port-forwarding” possibly in advanced options. Depends on the router.
In port forwarding section you usually set the device (your computer) up to forward certain ports.
MCEE works on port 19132 so you can port forward just that port or a range of ports if you want to use different ones (19130,19131,19132,19133 etc…) in that case you open port range 19130 – 19133.
Then you define the traffic type on the network. Again, depending of the router, you then define TCP/UDP (both) or TCP and UDP as separate “rules”.
Below is a screenshot of my set up on the BT HUB.
Ok. So that is the port forwarding.
Connecting to the outside world
You now need your external IP address of your connection to the outside world to give to your colleague. You can get this from this link.
You want your IPv4 address to give to your colleague.
They then open Minecraft Education Edition, Click on Play and then “Servers”. They go to “Add Server”. They input the IPv4 address you gave them and that reaches out to your router.
Sounds complex, but once you have set it up, you don’t need to do it again.
EDIT: Things to remember!
- You and your clients need to be on the same tenancy for MCEE – which means you all have to have the same address after the @ symbol on your Microsoft ID email address. e.g email@example.com, firstname.lastname@example.org, email@example.com etc…
- You must all be on the same version of Minecraft Education Edition – See title screen, bottom right hand corner
- Try rebooting your router
- Reboot your machine and check the external IP
- check for typos in the IP address
- Check that you have the right port opened
- Check your clients are on the same port