A Guide to Port Forwarding, for running your own server.
Posted 18 April 2010 - 09:51 PM
For the purposes of this guide, I will be (and currently am) using MCSharp.
Most of the pictures in this guide are huge, so be sure to click on all the images, as most of them are thumbnails.
Step 1 - Choosing your server program
Let's begin by selecting a server program to run your server on. There's plenty to choose from, but for me, only 2 really stand out. MinerCPP is pretty good, but as of right now, it's dead. Seems the dev's have stopped working on it. That leaves us with MCSharp.
So you've downloaded MCSharp (or whatever server program you've chosen). Good! Onwards to Step 2.
Step 2 - Port Forwarding
Step can be either easy or hard, depending on who your internet provider is. I personally used to have Bell Sympatico Lite, but with their service, my routers page was severely modified by Bell, which prevented me from changing Virtual Server information. So I switched to Cogeco.
So let's begin Port Forwarding! For this guide, I'll be using my current router, a Belkin F5D7230-4. You're going to need to find out what your router's page IP is. To do this, click your Start button, and in the search field, type "cmd". Command Prompt should appear in the results. Right-click it, and click Run as Administrator.
PROTIP: An easier way to find out your router's IP page, is to go to http://www.portforward.com
Once Command Prompt opens, type ipconfig. The information we'll need for this step is the Default Gateway.
Now that you've got your Default Gateway, punch that into your browser. That should bring up your router page. KEEP THE COMMAND PROMPT UP! Trust me, we're gonna need another piece of information from it soon.
Notice the circled text. "Virtual Servers". That's where we're headed next. Keep in mind, your router page most likely will be different than mine.
Now that we're on the Virtual Servers page, it's time to add in the necessary information to open the ports for your server, so other players can connect. Before we add any information, we're gonna need to get one last piece of info from the Command Prompt. If you've still got the Command Prompt open, look for "IPv4 Address". The IPv4 Address is similar to your Default Gateway, except for the last number. And the last number is what we'll need.
Back to the Virtual Servers page. Enter the following info into the boxes:
Notice the "4" at the end of the "192.168.2.[ ]". As you see in the picture above this one, that is our IPv4 Address. And whenever the IPv4 address changes, the number at the end will change. Everytime the IPv4 changes, you'll have to change the info on the Virtual Servers page. So if it changes to 192.168.2.6, you'll have to change those two 4's to 6's.
Apply the changes, and if your router page has a "Restart Router" option, do that. Now it's onto the next step. Windows Firewall.
Step 3 - Windows Firewall
This step is for if you're using Windows. If you're using a Mac.....well then this guide isn't for you.
Open up Windows Firewall, and click "Allow a program through Windows Firewall"
Once you click "Allow a program", a popup should appear. From this popup, click "Add Port".
Finally, another popup will appear. Enter the following information:
Click "Add Port" again, and add the same information, only this time, click UDP.
And you're done.
Step 4 - Success!
Once you've done everything properly, start your server up. For MCSharp, make sure that your server.properties file has "Port:" listed as 25565.
Everything should be working properly. People should be able to connect to your server.
If you have any questions, feel free to ask, and I'll try my best to answer them. Please note, I'm not exactly a genius when it comes to this stuff. This guide is just what I did to get my server running, so I figured I'd turn what I did to get my server up into a guide for everyone else.
Posted 15 May 2010 - 02:54 AM
Type "ipconfig" in cmd, use that default gateway.
Posted 15 May 2010 - 05:08 AM
Type "ipconfig" in cmd, use that default gateway.
I know tht, but the webpage is not working.
Posted 17 May 2010 - 09:04 PM
Posted 04 December 2011 - 04:34 PM
Posted 04 January 2012 - 10:52 PM
Posted 30 January 2012 - 12:47 AM
Posted 30 January 2012 - 02:26 AM
You don't need to port forward when using Hamachi. Hamachi establishes a virtual private network across the internet that 'tricks' applications into believing each computer playing minecraft is on the same local network.
Port Forwarding opens ports normally blocked on your router's firewall, and then forwards those network packets to the computer you've nominated to be the recipient (minecraft server). Port Forwarding can be more difficult to configure for some, which is why Hamachi is used instead as an easier short cut.
I'm assuming you're typing the gateway's IP address into your internet browser. This act is effectively allowing you to connect to the configuration page for your internet router. It's password protected to prevent unauthorised people from making changes. If you don't have access, talk to someone in your household who does (i.e. parents, older siblings).
Posted 02 April 2012 - 11:53 PM
Posted 22 June 2012 - 06:59 AM
I have this exact same problem too...since this thread is a bit old, somebody else might like to help?
Posted 22 June 2012 - 06:29 PM
Hey. I have solved this problem yesterday. Pm and I will explain .
Posted 03 July 2012 - 02:19 PM
The specified port(s) are being used by other configurations. Please check your configurations of Remote Management, Port forwarding, Port Triggering, UPnP Port Mapping table, RIP, and Internet connection type
This screen will automatically return to the previous screen in a few seconds...
Posted 29 August 2012 - 05:42 PM
I found a solution
It worked for me and we had both the same problem now its saying port is open LD
Posted 02 September 2012 - 10:06 AM
Try use this if you using D-Link, works for me.
Username : admin
Password don't write anything.
Maybe there is more than one networks shown out?
Try another one.