Arqade is a question and answer site for passionate videogamers on all platforms. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to create a minecraft server for me and and my boyfriend to play on. Our PCs are networked and on the same LAN.

How do I set it up? Do I need any additional software? Do you have some links to walkthroughs or tutorials?

I have tried to set this up a few times but have failed every time.

share|improve this question
Slap the wiki link in an answer; it deserves a vote or two. – Stuart Pegg Apr 9 '11 at 8:57
up vote 21 down vote accepted

Start by downloading Minecraft_Server.exe from the official minecraft website.

Place it in an empty folder somewhere on your computer and open it. You'll see the world being created, and when it's done, it'll tell you so. As long as that program is open and running, your server will be available for connection.

Any computer on your LAN will be able to connect to this server now. Simply open minecraft, login and head into multiplayer. Type in the LAN address (found here) of the computer where the server is running, and hit connect. If it doesn't connect on the first try, give it a couple more tries.


  • Try changing your firewall settings (XP, Vista/7). The application you're adding is Minecraft_Server.exe, the port is 25565 (or port range 25565-25565), and you want this on both TCP and UDP protocols (you may have to add a rule for each).
  • Try port forwarding on your router. If you have access to your router, open your router configuration webpage (um, what?) and find the Port Forwarding section (might be listed under Applications and Gaming). Use the same ports and protocols as above.
  • Try setting the server to offline mode. Close the server for a moment. Go into the folder where Minecraft_Server.exe is sitting, and find the file (may simply appear as server). Open this with Notepad and change online-mode from true to false. Save it, close it, and start the server again.
  • Try connecting the computers directly to one another, via ethernet cable. This one will work as a last resort, and is handy for laptops or desktops which are fairly close together. If you're picking up wireless internet or have a second ethernet port in your computer, you won't even have to sacrifice your internet connection.
  • Instead of connecting by putting in your LAN address in the server IP box, put in "localhost" (without the quotes) in the server IP box and try to connect.
share|improve this answer
Everytime my friend tries connecting to my machine I get a message that he logged in but he is stuck at the Logging In screen. After he disconnects due to a timeout, the server throws an error and my entire internet goes down. Do you know why this is? – Rachel Apr 9 '11 at 5:10
Minecraft adds :25565 on the end by default. So long as you don't change the port, adding it explicitly is redundant. – Keaanu Apr 9 '11 at 6:30
Technical note, if you're connecting 2 computers together directly (without a hub switch or router) you need a crossover cable rather than a standard ethernet cable. – Kurley Apr 9 '11 at 8:15
Good troubleshooting section. +1 – Stuart Pegg Apr 9 '11 at 8:58
@Kurley Not necessarily. Many modern network cards will detect a direct ethernet connection over a "straight" (non-crossover) cable and make the necessary pinout crossover internally. – SevenSidedDie Sep 19 '11 at 23:59

I found this wiki link very useful for setting up a server

share|improve this answer

It is also possible to set one up Hamachi

The benefits of this is that,

  • No need to open ports,
  • Closed server so no people will come on and grief without being on your hamachi
  • It's free and easy to get setup and running.

Cons are

  • Can be limited to number of people on it.
  • Higher encryption so can be slower.
  • Requires other people to download and install hamchi
share|improve this answer

This is a rather old post but the other answers seem to have missed the obvious.

You are on a LAN network as you say, so you are both connected to the same router when playing. The one of you to host the server simply needs to create a new single-player world, load it up, open the menu, click "Open to LAN", choose the desired settings and your other half can join from the multiplayer menu at the bottom under "LAN Worlds". You will need to re-host the world every time you wish to play.

share|improve this answer

protected by Community Dec 11 '12 at 22:32

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.