I would like to create a minecraft server for me and and my boyfriend to play on.
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.
Method 1: Open to LAN
This method is useful if you and your boyfriend are on the same network (ie. both computers are connected to the internet using the same router). Open Minecraft, click
Singleplayer and enter the world you want shared. Press ESC and click on
Open to LAN, choose your desired settings, and click
Start LAN World. You will immediately see a message stating the following:
Local game hosted on port 12345
Take note of the port number, shown here as example
12345 (Hint: If you need to see it again, press T and you will see it there in the chat history). As long as this world stays open and running, it will be available for connection. If you need to exit the world and/or close Minecraft, you will need to Open to LAN again next time you play.
Open Minecraft on your boyfriend’s computer and click
Multiplayer. Minecraft should automatically detect and display a list of open worlds on your local network. If your world appears in this list, select it and click
Join Server. You should now be playing in the same world. Anyone else who is on the same network and wants to join simply needs to enter Multiplayer, and the world should appear in their lists as well.
If the world did not appear in this list, you can try connecting directly to the host. Click on
Direct Connect and it will ask you for a server address. For this method, the address must be written in two parts:
[Local IP of host]:[host port number]
The port number we already have, from above. The local IP can be found by using the host computer to open this page. It will look something like this:
188.8.131.52. Once you have these two numbers, type them into the Server Address box as such:
Join Server. If this method has worked, you should now be playing in the same world. Again, anyone else who is on the same network and wants to join simply needs to type the above address into their Direct Connect screen.
If none of this has worked at all, or someone wants to join your server from outside your local network, consider using Method 2 listed below to set up a standalone server.
Method 2: Standalone Server
This method is useful if you want someone to be able to connect to your server from anywhere in the world.
Start by downloading minecraft_server.jar from the official minecraft website. Place it in an empty folder somewhere on your computer and open it. It will generate a few files around itself, including one called
eula.txt. Open this file and follow the instructions inside to view Minecraft’s End User License Agreement, and finish by changing the line
eula=true and saving the file. Now when you open minecraft_server.jar 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. Click
Direct Connect and type in the LAN address (found here) of the computer where the server is running (the “host”), and hit
Join Server. To connect using a computer outside of the local network, use the host’s external IP address instead (found here). To connect to a server running on your own computer, simply use the IP 127.0.0.1.
- If clicking
Join Serverdoesn’t go through on the first try, give it a couple more tries.
- Make sure you have Java installed and configured on your computer. You can download Java here, and if your server still doesn’t open properly, Java configuration instructions can be found here or here.
- Try changing your firewall settings (XP, Vista/7). The application you’re adding is minecraft_server.jar, the port is
25565(or port range
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
server.propertiesfile (may simply appear as
server). Open this with Notepad and change
online-modefrom 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.