-
Notifications
You must be signed in to change notification settings - Fork 5
4 Port Forwarding
- To allow clients from outside your current home router network to connect to your server - you must set up port forwarding.
As the name sounds - port forwarding means setting up your network router to forward the port connection a server is set to use (from your computer through the network router).
Below are options to set up port forwarding.
-
(追記) Access your network router's configuration settings and enter a port forwarding entry/rule. (追記ここまで)
Because different routers have different setup windows or use proprietary apps to configure - there is no specific guide with pictures that can be given how to log in or navigate the settings screen.
-
The default Minecraft port is 25565. Enter this unless you are setting up a custom port in the server.properties file.
-
The IP to be entered as forwarded in the router settings is the host computer's LOCAL IPv4 address. To find it open a Command prompt (CMD) and enter
ipconfig. Note - again - use LOCAL IP address shown in ipconfig. DO NOT USE PUBLIC IP - because it won't work. -
Select forwarding for
TCPorTCP & UDP
-If you believe you've entered everything correctly go to the website http://www.canyouseeme.org, enter the port you have just forwarded in the port box on the website, and click 'check port'.
-If it fails too see the port then try restarting your router and computer and try checking again.
[ Note - The IP which user clients connecting enter in the multiplayer screen, to contact the server, depends on their location. ]
- Same computer - instead of a number put the word localhost
- Client computer on same home router network - LOCAL IP address (and port of server) of the server computer.
- Client computer outside of home router network - PUBLIC IP address (and port of server) of the server computer.
-
(追記) Use the UPnP port forwarding feature that the Universalator script can enable. (追記ここまで)
Using the in-program menu, you can check your network to see if you have a router with UPnP functions.
upnp found
-
The small program that the script uses to operate UPnP setup is not downloaded automatically. To download the file simply navigate to the UPnP menu in the Universalator program and enter 'download' as prompted after reading the initial menu text. This allows people who don't wish to use the software to not have it placed on their computer at all.
-
If you do have a router with UPnP functions enabled - you can use the UPnP menu in the Universalator script to turn it on, automatically setting up forwarding using the port currently set. The default the port used is 25565 - this is unless the setting is changed in the server.properties file.
upnp menu