Minecraft Blogs

Setting up a small Home Minecraft server

  • 4
  • 2
  • 8
avatar Medessec
Level 57 : Grandmaster Architect
Many want to run their own server from their home computers, for various reasons: To get away from the restrictions and rules of a public server, to be worry free of admins or moderators, or just to be a server operator. Setting up a home-based vanilla server is fairly easy, and I'll show you how to do that.

Setting it up!
First off, I HIGHLY recommend you run the Minecraft server on a second computer. If you run it on the same computer you're playing Minecraft on, that puts more stress on the computer, and limits how many people can be on your server, can cause lag for others, etc. The computer you run the Minecraft server on doesn't need good graphics, just a lot of RAM and a really good processor. 2GB RAM or more is best, and a Pentium Dual-Core or Core 2, or newer, is also good.

Now, go to http://www.minecraft.net/download and download the "Minecraft_Server.exe" towards the bottom. DO NOT start the .exe file after downloading. Create a folder on the computer's desktop called "Minecraft Server" and put it in there. THEN run the .exe file. You'll see a few warning messages then a bunch of percentages, wait for it to get to 100% then when it says "Done!" at the bottom, click in the text box at the bottom, and type "stop" to shut it down. Now, go into the "op.txt" and put your username in the text file. This gives you admin privileges on the server. Save it then close it. Then go to "server.properties", and when asked what program to open it with, select Notepad. Then modify the entries in here to your liking. You should leave most of it alone, but at the bottom you can change the MOTD to say "Medessec's Server!" or whatever you want. You can turn pvp or monsters on or off. If you want a creative server, change the gamemode to 1. After adjusting that, save it, then restart the server.

Connecting to your new server for the first time
Now, let's try connecting to your server. If the computer you're running the server on is a different computer from the one you play Minecraft on, and is in the same network as the one you're in (both computers are plugged into a router) then on the server computer, go to Start>Run, then type "cmd" in. A black window should come up, inside it, type "ipconfig". You want to look under Ethernet adapter Local Area Connection or whatever the one you use for internet is, to the right of IPv4 Address:, what ever number you see there(usually looks like "", go to your other computer with Minecraft on it, type in that number in Direct IP, and see if you can connect. If it works, then success! You can connect to your new server. NOTE: If you ever turn off your server computer, the router might give it a different IP address when you start it again. You'll have to go Start>Run, "cmd" and type "ipconfig" again to get the Local IP. If the Local IP doesn't work, you can try connecting by typing in the name of the server computer. For example, if it's named "HENRY-FAMILY-PC", you type that in.

If you run the server on the same computer you're playing Minecraft on(which, again, I do not recommend) you can simply start the Minecraft server, and Minecraft, then go to Direct IP and type "". You should immediately connect.

Allowing friends to play over Hamachi
If you've connected to your server with the local IP like I showed you, Hamachi won't be much different. Go to: https://secure.logmein.com/products/hamachi/ and set up an account. From there, you can set up a VPN, or Private Network over the internet that you and your friends can use. Then, after setting up the VPN, Logmein will give you a download link specifically for your friends to download and install Hamachi, so they can hook into the VPN. Also be sure to use that download link to install the Hamachi VPN on your server computer. Then, anyone in your VPN can simply type in the Hamachi IP(looks like of your server to connect.

Allowing friends to play by connecting directly over internet
This is possible, but it is very difficult and complex. You'll want to start by downloading "No-IP" on the server computer. Go to http://www.no-ip.com/downloads.php?page=win and download the No-IP client. Then create an account on no-ip.com and make a domain with no-ip for the client to hook into. Then use your logon info on no-ip with the client, and then the client should show that domain you made. Then, tell it to use the domain. It'll look similar to "myserver.no-ip.com". Now, you need to set up your router to port-forward. Go into Start>Run, type "cmd" and type ipconfig in again, but look under Ethernet adapter Local Area Connection for "Default Gateway". This will look like an IP. Type that into your Internet Browser, NOT Minecraft. A control panel should come up, or a login prompt should come up. Either way, you need to login to the router. If you don't know the password, you can try Username: admin, Password: admin, or Username: admin, Password: password. Look up the defaults for your router if you still can't login. After logging in, click and scroll through the settings and look for "Port-forwarding". Once there, you'll want to enter in port 25565 to forward to the server computer. You should use the computer's name, but if the router needs an IP, just enter whatever Local IP works at the moment, and if you ever reset the router or the computer, you'll have to change it. If it asks for a protocol, use TCP and UDP. Then save the settings, and ask a friend to connect using the No-IP domain. It SHOULD work, and if it does, congrats!

If it isn't working, or if you have any questions, just ask me by commenting or PMing me on here.

3 Update Logs

Update #3 : 06/10/2012 11:02:03 pmJun 10th, 2012

changed spacing, highlighted and altered appearance of specific points.

11/10/2018 4:17 am
Level 1 : New Miner
Thanks for taking the time to discuss about your experience about Setting up a small Home Minecraft Server.I am getting issues to How To Change Password On Linksys Router.
02/28/2012 11:38 pm
Level 40 : Master Goblin
A tip: You can connect to your own computer using "localhost" as the IP address. If you're playing across a network, you can use the name of the host computer as the IP. For example, "Bob-PC:25565" for a computer named Bob-PC on Minecraft's default port.

What's all the stuff about No-IP? Is that a program that assists with port forwarding for those who don't know how?
02/28/2012 11:39 pm
Level 40 : Master Goblin
Other than that, well written and informative for players new to server administration.
02/29/2012 12:43 am
Level 57 : Grandmaster Architect
No-IP keeps a set domain for home internet connections on a rotating Dynamic IP, so you can just have a single domain for players on your server to use, such as "myserver.no-ip.com" to type in and connect, instead of having to tell everyone your IP every few hours/days. You still need to do the port-forwarding yourself, but No-IP basically gives your home computer a web address with a name, like www.mycomputer.no-ip.com, instead of people having to type in something like to reach your computer.
09/17/2012 2:25 am
Level 1 : New Miner
I dot think this is helpfulat all ?
12/24/2011 3:27 pm
Level 38 : Artisan Network
I've got plans for this.
12/14/2011 7:08 pm
Level 14 : Journeyman Pokemon
thank VERY helpful
12/14/2011 5:35 pm
Level 38 : Artisan Architect
Really helpful, thanks!
Planet Minecraft Logo


© 2010 - 2020