Minecraft servers are great and can make the game a lot more fun. Multiplayer is generally more fun than single player for many users, and servers are the pinnacle of multiplayer. It’s not that hard to make one either. Joining servers for specific game modes or mini-games they have isn’t difficult either, as Mojang often promotes them in the Servers tab.
Creating your own server isn’t that hard, but it won’t be available to anyone else. The trick to getting visibility for a new server is port forwarding. This makes it visible to connect and play on.
Port forwarding in Minecraft 1.19: complete guide
Port forwarding is a technically magical thing that allows remote computers to connect to a router and a local network. It does this by using specific TCP and UDP ports. It is usually accessible on most modems and routers.
Here are the steps to do this for a Minecraft server:
- Open the Minecraft server folder.
- Locate the server.properties file.
- Open the file with a text editor. Right clicking should bring up this option.
- Locate the server port line, which should have a numeric value behind it.
- The numbers should be
- 25565 – Java edition.
- 19132-19133 – TCP and UDP ports for Bedrock.
Here it gets a bit more difficult. Now gamers need to allow the port on their firewall. Here’s how you do it in Windows:
- Open Windows Defender Firewall with Advanced Security.
- Click Incoming Rules.
- Select New Rule.
- Choose Port.
- Select TCP.
- Enter the Minecraft port number.
- Click Allow connection.
- Give the rule a name and click Finish.
Here’s what to do on a Mac:
- Open System Preferences
- Navigate to Security & Privacy.
- Choose Firewall.
- Select Firewall options.
- Click Add.
- Locate the installed Java application and confirm.
- Make sure the Allow incoming connections option is selected.
The last part of this method is to forward the port on the router. Here’s how to do that:
- Find the default gateway IP address.
- Create a static IP address.
- Open the port forwarding settings.
- Specify which TCP and UDP ports to forward.
- Press the Windows and R keys. Enter CMD to open the Command Prompt, where this command should be entered: ipconfig.
- To set a static IP address, press the Windows + R key again.
- Type ncpa.cpl.
- Right click on the network interface.
- Select Properties.
- Find Internet Protocol version 4 (TCP/IP).
- Select Properties again.
- Specify the chosen static IP address, subnet mask (255.255.255.0) and the router IP from earlier.
Here’s how you do it on a Mac:
- Navigate to the TCP/IP tab in Network Settings.
- The router line must have the router’s IP address.
- Return to the TCP/IP section.
- Choose Use DHCP with manual address.
- Specify the IP address to use.
- Click OK.
This is a very tricky process, and if you do it wrong, it can mess up the internet router and the connection and the game itself.
Readers should not do this unless it is safe and in order to do so. Otherwise, challenges may arise.