Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

A Guide to Port Forwarding, for running your own server.


  • Please log in to reply
16 replies to this topic

#1

Canadian_x360a

Posted 18 April 2010 - 09:51 PM

Well, since Citricsquid's guide at the top covers running a dedicated server, I figured I'd make a guide to help you in starting your own Minecraft server, using a server program like MCSharp or MinerCPP.

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.
Posted Image
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.

Posted Image

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.
Posted Image

Back to the Virtual Servers page. Enter the following info into the boxes:
Posted Image
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"
Posted Image

Once you click "Allow a program", a popup should appear. From this popup, click "Add Port".
Posted Image

Finally, another popup will appear. Enter the following information:
Posted Image
Click OK.

Click "Add Port" again, and add the same information, only this time, click UDP.
Posted Image

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.
[ Enter Canadian Multiworlds | Canadian Multiworlds Official Forums ]

Chezzmo said:

I'll bet you get into a lot of fights because you're so hardcore. I wouldn't want to cross you in a dark alley. Heck, even in a lit alley, I bet that'd be pretty dangerous.

Register or log in to remove.

#2

Dysgalt
    Dysgalt

    Forum/Wiki Sponsor

  • Members
  • 1125 posts

Posted 30 April 2010 - 03:01 AM

viewtopic.php?f=10&t=836 Because this topic is totally not stickied... or anything like that and already explains everything in here and more... ;)

#3

james0roll_

Posted 14 May 2010 - 08:16 PM

Why isn't my Default gateway working, it says its like a unknown page... Please help?  
:!:
I am the host of EpicCraft, my members and staff love me and my server. Rules, Pvp, Monsters, Order... Check us out at http://epiccraft.forumotion.com

#4

Bmthrules

Posted 15 May 2010 - 02:54 AM

james0roll_ said:

Why isn't my Default gateway working, it says its like a unknown page... Please help?  
:!:


Type "ipconfig" in cmd, use that default gateway.

#5

james0roll_

Posted 15 May 2010 - 05:08 AM

Bmthrules said:

james0roll_ said:

Why isn't my Default gateway working, it says its like a unknown page... Please help?  
:!:


Type "ipconfig" in cmd, use that default gateway.

I know tht, but the webpage is not working.
I am the host of EpicCraft, my members and staff love me and my server. Rules, Pvp, Monsters, Order... Check us out at http://epiccraft.forumotion.com

#6

james0roll_

Posted 17 May 2010 - 09:04 PM

I had to be hooked up to my router before making changes, sadly I never read tht, therefor my router fucked up, thanks man, tht helped me alot! It would be nice to be told how to access tht, 192.1681.1.1 (Gateway) again?
I am the host of EpicCraft, my members and staff love me and my server. Rules, Pvp, Monsters, Order... Check us out at http://epiccraft.forumotion.com

#7

FizzeyDizzey

Posted 14 October 2011 - 05:19 PM

http://imageshack.us.../510/port1.jpg/
http://imageshack.us...28/port2fl.jpg/
So i set up a minecraft server and this happens...

anyways i have an
actiontec Q1000 quest router.

Just tell me if you need anymore info

umm im lost...
Posted Image

#8

MinDisABLE

Posted 04 December 2011 - 04:34 PM

I have a little problem here. There's no option "add port", so I can't do it. Here's an image:

Posted Image

Any ideas?

#9

Burnquist

Posted 04 January 2012 - 10:52 PM

We have a problem, See my friend knows how to port-forward and it has worked before. But suddenly now that he has port-forwarded again and we use hamachi while its port-forwarded It suddenly doesn't work. Any help?

#10

dhd_zeke_
  • Minecraft: dhd_zeke_

Posted 30 January 2012 - 12:47 AM

what do i do when it says username and password when i put my ip address in the internet page

#11

beeprints
  • Location: Australia
  • Minecraft: beeprints

Posted 30 January 2012 - 02:26 AM

View PostBurnquist, on 04 January 2012 - 10:52 PM, said:

We have a problem, See my friend knows how to port-forward and it has worked before. But suddenly now that he has port-forwarded again and we use hamachi while its port-forwarded It suddenly doesn't work. Any help?

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.

View Postdhd_zeke_, on 30 January 2012 - 12:47 AM, said:

what do i do when it says username and password when i put my ip address in the internet page

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).

#12

tisukanoel

Posted 02 April 2012 - 11:53 PM

there is one problem that all´╗┐ its the thing where you let your router let access to minecraft.. here is the thing i folo the step on Port Forwarding and i am up to the part (which it is the end) and it tells me that under private IP address is blank... now i know that if i put in another random number that i loose internet connection now what do i put for that section

#13

Thornshadow17432
    Thornshadow17432

    The Meaning of Life, the Universe, and Everything...

  • Members
  • 42 posts
  • Location: Here.

Posted 22 June 2012 - 06:59 AM

View PostMinDisABLE, on 04 December 2011 - 04:34 PM, said:

I have a little problem here. There's no option "add port", so I can't do it. Here's an image:

Posted Image

Any ideas?

I have this exact same problem too...since this thread is a bit old, somebody else might like to help?

#14

BabyKiller150

Posted 22 June 2012 - 06:29 PM

View PostThornshadow17432, on 22 June 2012 - 06:59 AM, said:

I have this exact same problem too...since this thread is a bit old, somebody else might like to help?

Hey. I have solved this problem yesterday. Pm and I will explain . :)

#15

DiggyIguana
  • Location: In a distant world, not so far from here- Ohio.
  • Minecraft: DiggyIguana
  • Xbox:novawaffle11

Posted 03 July 2012 - 02:19 PM

THIS comes up every time I try to port forward Minecraft.

Failure
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...

HELP?
I CAN DIG IT.

#16

dwarfychicken

Posted 29 August 2012 - 05:42 PM

View PostMinDisABLE, on 04 December 2011 - 04:34 PM, said:

I have a little problem here. There's no option "add port", so I can't do it. Here's an image:

Posted Image

Any ideas?
I found a solution
http://windows.micro...indows-Firewall
It worked for me and we had both the same problem now its saying port is open LD


#17

FattyMieo
  • Location: Malaysia
  • Minecraft: mrsagency

Posted 02 September 2012 - 10:06 AM

I made all the things above but when I test for the port 25565 it says Connection Timed-Out
Help me! Posted Image

View Postdhd_zeke_, on 30 January 2012 - 12:47 AM, said:

what do i do when it says username and password when i put my ip address in the internet page

Try use this if you using D-Link, works for me.
Username : admin
Password don't write anything.

View Postjames0roll_, on 14 May 2010 - 08:16 PM, said:

Why isn't my Default gateway working, it says its like a unknown page... Please help?  
:!:
Did you use the wrong default gateway?
Maybe there is more than one networks shown out?
Try another one.
P/S: I love creeper! Posted Image (Because I am a cat!)