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.
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 OK.
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.
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.
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... :smile.gif:
I had to be hooked up to my router before making changes, sadly I never read tht, therefor my router ****ed up, thanks man, tht helped me alot! It would be nice to be told how to access tht, 192.1681.1.1 (Gateway) again?
Rollback Post to RevisionRollBack
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
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?
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.
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).
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
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...
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 OK.
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.
:!:
Type "ipconfig" in cmd, use that default gateway.
I know tht, but the webpage is not working.
http://imageshack.us/photo/my-images/828/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...
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).
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?
Help me!
Try use this if you using D-Link, works for me.
Username : admin
Password don't write anything.
Did you use the wrong default gateway?
Maybe there is more than one networks shown out?
Try another one.