PDF download Download Article PDF download Download Article

This wikiHow teaches you how to forward a port for your Minecraft server. Forwarding a port is necessary if you want to let people who aren't on your Wi-Fi network join a server that you're hosting, as it will allow traffic from outside your network to access your computer.

Part 1
Part 1 of 4:

Preparing

PDF download Download Article
  1. If you haven't yet installed and configured a Minecraft server on your computer, click one of the following links for instructions on doing so for your specific operating system:
  2. In order to access your router's page, you'll need to know the router address as specified by your computer's settings:
    Advertisement
  3. You should see this to the right of the "IPv4" heading in the menu in which you found your router's IP address. This is the address which identifies your computer.
    • If you see a slash and another number at the end of the IP address (e.g., 192.168.1.12/32 ), your computer may be identified by two addresses (e.g., 192.168.1.12 and 192.168.1.32 ).
  4. In order to forward your port correctly, the port shouldn't be in use. This means you'll need to close the server.
    • While doing this isn't strictly necessary, it can help prevent errors down the road.
  5. Once both Minecraft and your server are turned off, you can proceed with accessing your router's page.
  6. Advertisement
Part 2
Part 2 of 4:

Accessing Your Router Page

PDF download Download Article
  1. Click or double-click the app icon for your preferred web browser to do so.
  2. It's at the top of the web browser window.
    • If there's any text in the address bar, remove it before proceeding.
  3. Type in the address you found next to the "Default gateway" (Windows), "Router" (Mac), or the "ip r" ending numbers (Linux).
    • For example, you might type something like 192.168.1.1 here.
  4. Doing so takes you to your router's page if the router is online.
  5. Type in the username if asked, then type in the password and press Enter .
    • If you don't know the login information, don't panic—most routers require you to log in using factory-default credentials (e.g., "admin" for the username and "password" for the password). You can usually find these credentials on the back/side of the router or in the router's manual.
    • If you can't find the router's sticker or its manual, you can check the router's model number online to see what common login credentials are.
  6. Especially if this is your first time accessing your router's page, it may take a few seconds for the page to finish loading. Once you're logged in, you can assign a static IP address to your computer.
    • You may need to navigate through some on-screen setup prompts or a tutorial if this is your first time opening the router's page.
  7. Advertisement
Part 3
Part 3 of 4:

Assigning a Static IP Address

PDF download Download Article
  1. While it's possible to approximate the location of menu items on your router's page, what you see will vary heavily depending on your router.
  2. Assigning a static (instead of a dynamic) IP address to your computer will prevent the IP address from changing if your computer ever loses its connection to the router. This means that you won't have to update your IP address in the server's settings each time you turn back on your computer.
  3. This list's location will vary, so try looking in the following places or menus:
    • Connected Devices
    • Settings
    • Advanced Settings
    • Network
    • Devices
    • Parental Controls
  4. Scroll through the list of connected items until you find the IP address that matches your computer.
    • This should be the "IPv4" address you found in the same menu as the router's address.
  5. Again, this will vary depending on your router page. You may need to click a lock icon next to your IP address, click a settings gear icon and then click Reserve next to the address, or check a "Reserve" box near the address.
    • For specific instructions regarding setting a static IP address on your model of router, read the router's manual or online documentation.
  6. Click the Save or Apply button to do so. Now that your computer's IP address is reserved, you can finally forward the Minecraft port.
    • Your router may need to reboot before you can proceed. If so, it will reboot automatically.
  7. Advertisement
Part 4
Part 4 of 4:

Forwarding Your Minecraft Port

PDF download Download Article
  1. The default Minecraft port number is 25565. Unless you've somehow changed this number in your computer's Firewall settings, the default port number is the number you'll use.
  2. On most routers, this section should be referred to as "Port Forwarding", and it should be a main tab or menu item on the router's home page.
    • If you don't see the "Port Forwarding" section on the main page, look in the Settings or Advanced Settings section.
    • Once again, you can consult your router's specific documentation for the proper instructions on using your router's port forwarding feature.
  3. In the "Name" or "Rule" text box, type in a title (e.g, "Minecraft") that describes the port forward rule. Optionally, type in a description.
  4. Type 25565 into this text field.
  5. Again, you'll just type in 25565 here. This indicates to your router that only port 25565 should be forwarded in this rule.
    • If you don't see this option, just look for a second "Port" text field on the right side of the list.
  6. In the "Address" text box, type in the static IP address you set for your computer.
  7. Click the drop-down box in the "Type" column, then click TCP in the drop-down menu. Then, also enable UDP in the same menu.
    • You may instead need to check a box (e.g., click the "TCP" checkbox).
    • If the "Type" drop-down box already has TCP in it, skip this step.
  8. Click the Save or Apply button to do so. At this point, your port should be forwarded, meaning that you should be able to invite friends to use port 25565 on your computer's public IP address in order to access your Minecraft server.
    • Your router may need to reboot before you can proceed. If so, it will reboot automatically. If that doesn't work, wait a few minutes for the router to refresh.
  9. Advertisement


Community Q&A

Search
Add New Question
  • Question
    How do I know my IP address?
    Community Answer
    Your IP address is displayed when you google "IP" or "What is my IP."
  • Question
    How do I add plugins to the Minecraft server if I portforward?
    Community Answer
    It is possible to host local Bukkit or Spigot servers, both of which allow plugins to be added. There are plenty of tutorials explaining in detail how to do this.
  • Question
    Can I have a bit more explanation about step 12 regarding where to paste the address?
    Community Answer
    On the Minecraft main menu screen, there should be a button that says "Multiplayer." Click it. Click "Add Server" at the bottom. The IP Address slot of the new server page is where you paste the address.
See more answers
Ask a Question
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      About This Article

      Thanks to all authors for creating a page that has been read 436,045 times.

      Did this article help you?

      Advertisement