How to Port Forward a Minecraft Server

In order to allow other people to connect to your Minecraft server, you need to do port forwarding. In this tutorial, we will show you how to port forward a Minecraft server.

Updated: 14 Dec, 21 by Antoniy Yushkevych 8 Min

List of content you will read in this article:

Your network conceals itself from the Internet when you set up the Minecraft server in your house. You need a forward port in your network to enable incoming connections to your relatives and friends from outside to connect with your Minecraft world. Port forward is a means to make your computer available to computers on the Internet on your home or business network, even if it's behind a router. It is used often in gaming, security camera setup, voice-over IP, and files download. After transmitting a port, it is claimed that you have an open port.

Forwarding ports is a handy tip in gaming since it may greatly improve the stability and speed of your network connection. Incoming network requests were not meant for routers, and some games can benefit greatly from having an incoming connection redirected through the router to the game.

Before you may forward a port, you must first understand the following:

  • The address of your router's IP address.
  • The IP address of your gaming computer.
  •  A list of TCP and UDP ports must be forwarded.

 

This tutorial is split into three different sections and you must complete all 3 in order to successfully port forward your Minecraft server.

Preparing and Accessing your Router's Page

1.Ensure that your Minecraft server is up and running.

  1. Identify your router's IP address. To be able to reach your router page: you will need to know the router address as configured by the settings of your computer:
  • In Windows, Open Start, go to Settings, Network & Internet, View your network details, scroll down to the "Wi-Fi" header, and write down the address next to the "Default gateway" column.
  • Open the Apple menu, click System Preferences..., Network, pick your Wi-Fi connectivity on the left side, Advanced..., pick the TCP/IP tab, and note the address beside the "Router" header.
  • On Linux Terminal, Open a terminal and type "ip r" in it.

The router's IP address is the last set of digits.

  1. Determine the IP address of your machine. This should be to the right of the "IPv4" heading in the menu where you obtained your router's IP address. This is the address with which your computer identifies itself.
  • Your machine may be recognized by two addresses if the IP address ends with a slash and another number (e.g., 192.168.0.1/2). (e.g., 192.168.0.1 and 192.168.0.2).
  1. If your Minecraft server is still running, close it. The port should not be in use in order to forward it appropriately. You'll have to shut down the server as a result of this.
  2. Open a web browser on your PC. To do so, right-click or double-click the program icon for your selected online browser.
  3. Locate the address bar and lick it. It may be found at the very top of the online browser window. If the address bar has any content, delete it before continuing.
  4. Enter your router's IP address. Please specify the address found in the address section next to "Default gateway," "Router," or "Ip r" in Windows, Mac, and Linux, respectively.

For instance, on this machine, you may write 192.168.0.1.

  1. Hit the Enter key. If your router is online, this will send you to its page.
  2. Go to the router's web page. If prompted, enter your login, then your password, and then click Enter.
  • If you don't know your router's login details, don't panic; most routers need you to log in using the factory default credentials, which are "admin" for the username and "password" for the password. These authentication documents may normally be found on the router's back or in the router documentation.
  • If you can't locate the router's sticker or manual, look up the model number to discover the most frequent login credentials.
  1. Wait for the page for your router to load. It may take a few seconds for the page to load, especially if this is your first time visiting your router's website. You may assign a static IP address to your machine once you've logged in.
  • If this is your first time accessing the router's website, you may need to follow some on-screen setup instructions or a tutorial.

 

Creating a Static IP Address

  1. If you provide a static IP address to your system underneath the DHCP option on the page, the IP address will not change if your system loses connectivity to the network. This implies that each and every time you reload your system, you will not have to remember to modify the IP address of the server settings.
  2. Scroll through the list of associated items until you discover your computer's IP address. This is the "IPv4" address located in the same menu as the router's address.
  3. Make sure the IP address is locked. This may differ based on your router page once again. You may have to click on a lock icon near the IP address, or on the "Reserve" box next to the address, or on the gear icon and select Reserve next to the address.
  • Read the router's manual or online documentation for detailed information on how to configure a static IP address on your model of router.
  1. Be sure to save your modifications. To do so, click the Save or Apply option. You may now forward the Minecraft port now that your computer's IP address has been registered.
  • Before you can proceed, your router may need to be rebooted. If this is the case, it will reboot on its own.

 

Forwarding Minecraft port

  1. Minecraft's default port number is 25565. The default port number is your number unless it has been changed by the Firewall configuration of your system.
  2. Go to your router's "Port Forwarding" section and open it. On most routers, this section should be labeled "Port Forwarding," and it should be a major tab or menu item on the router's main page.
  • Look under the Settings or Advanced Settings sections if you don't see the "Port Forwarding" area on the main page.
  • Once again, the proper instructions for using your router's port forwarding functionality may be found in the router's individual documentation.
  1. Give your rule a distinct name. In the "Name" or "Rule" text box, provide a title for the port forward rule, such as "My Minecraft Server." Add a description if desired.
  2. In the "Inbound" text box, type the Minecraft port number. In this text area, type 25565.
  3. In the "Outbound" textbox, type the port number. You'll just write in 25565 here once more. 

This tells your router that under this rule, only port 25565 should be routed.

If you don't see this option, search for a second "Port" text box on the right side of the list.

  1. Enter the static IP address of your machine. In the "Address" text area, enter the static IP address you provided to your system.
  2. Choose a port type. In the "Type" column, click the drop-down box, then select TCP from the drop-down option. Then, under the same menu, activate UDP. It's possible that you'll need to check a box instead. If TCP is already selected in the "Type" drop-down box, you can skip this step.
  3. Save any changes you've made. To do so, click the Save or Apply option. At this point, your port should be forwarded, allowing you to invite individuals to engage to your Minecraft servers through port 25565 on your device's public IP address. Before you can proceed, your router may need to be rebooted. If this is the case, it will reboot on its own. If it doesn't work, give the router a few minutes to refresh.

 

Hence through the following steps, we can successfully port forward the Minecraft server. You won’t need to change the IP address if your router restarts and your Computer IP address changes as we have already set the static IP address for the forward port.

Antoniy Yushkevych

Antoniy Yushkevych

Master of word when it comes to technology, internet and privacy. I'm also your usual guy that always aims for the best result and takes a skateboard to work. If you need me, you will find me at the office's Counter-Strike championships on Fridays or at a.yushkevych@monovm.com