Talk:Tutorials/Setting up a server/Archive 1

Fix tutorial
The link to "Windows tutorial with focus on how to forward a port" under "Other Tutorials" is broken. Anyone has a new one?


 * I'm not sure when that was posted. There are tons of guides on how to do this on all kinds of gaming forums, but here's something for you.
 * What is Port Forwarding?
 * It's used when you have a router or wireless router between you and the internet. The router will get a public IP Address from your internet provider, and it also will provide private IP Addresses for any computers which you hook up to it (including wireless).
 * When people try to reach you, they only know the public IP address. Port forwarding is a setting in your router that tells it which local IP Address to send it to.
 * If possible, a static local IP setup is best, but that's a whole other can of worms I'm not going into right now.
 * A quick and dirty outline to setting it up
 * Obtain your computer's local IP address.
 * 1. Depending on your OS-
 * Windows XP- Go to 'Start' then 'Run' and type the letters cmd and press Enter.
 * Windows Vista/7- Go to the Windows button, and type command into the search bar. You should see an item at the top of the list called Command Prompt, choose that. (You do not need to Run As Administrator)
 * 2. Click in the black window. Type the command ipconfig and hit Enter.
 * 3. Look through the list until you see the IP Address, or IPv4 Address. Since you are behind a router, it will almost always start with 192.168.x.x with other numbers instead of the x. For some of you it might start with a 10. instead.
 * Find the local IP address of your router.
 * The easiest way to do this is to type your router's brand, model number, and the phrase default IP address into a search engine like Google. You can also consult the router's support web site.
 * It will almost always start with 192.168 and the next two numbers depends on your router brand and model.
 * Log into your router's configuration page. To do this you will simply type the router's IP address into a web browser. If you're never set a password and don't know what the default is, check the same places you just went for the default IP address.
 * Forward the Port
 * First, if you're just using the default then the port you want to forward is 25565. If you want to use a different port number you can, but this will have to match whatever port number is in your server's config file.
 * If you are running multiple servers, you'll need a different rule for each one.
 * You should only need to forward TCP ports, but if your only option is to also allow UDP that's ok.
 * Filling out the information is simple. Any Names are just for keeping track of things, and if your router lets you pick a pre-defined Application just leave that space alone. Put in the port number, and then the local IP of the computer your server is running on.
 * Save your changes!!!
 * Test it out. If you use a non-standard port, you'll need to add the port number in your Client or it won't connect.
 * Here's some resources for finding information
 * Portforward.com has a bunch of walkthroughs for how to configure specific routers. Note that you will need to know your router brand and model.
 * If you don't like that site or prefer getting information direct, go to your manufacturer's support page for instructions. The most common are Belkin, D-link, Linksys, or Netgear (in alphabetical order).


 * Nagroth 13:49, 20 August 2011 (UTC)

Yet another problem
Operating system: Windows vista

Java: No idea, sorry

Number of computers: One

Problem: Attempting just to log on, when trying to connect Im displayed with this in-game message Connection Lost  (Next line)   Internal exception: java.not.SocketTimeoutExeption: Read timed out  Ocationally im given the message Disconnected: Took too long to connect

Additional information: All forwarding is correct (although the last diget has to be changed daily from 0-2, head up on that also please).

When freind attempt to log on they are either faced with taking too long or just Unable to connect. No server setting changed, even the ram. Server Installed on version 1.0, its now 1.2.3. No mods added to the game for either single or multilayer. Thanks guys, don't fail me please.


 * I'm sorry, but are you sure you should run your own server if you're not even able to check your JAVA RE version number? I don't want to be rude, but do you know you're a potential security problem for your system?
 * OK, for your problems then: The reason you have to change your IP periodically is that you're relying on DHCP. Use a static IP. If you're just on your own you can connect to your own computer by logging on to "localhost" or 127.0.0.1. The others need to be on your LAN and can connect to your static IP if you configure your firewall the right way. I DEFINITELY DISCOURAGE you to forward ports on your router. Use a public server if you like to play with faraway friends. You're just not familiar with networking and so security failures arise more quickly than you can imagine... -- M3tal_Warrior -- 00:23, 9 March 2012 (UTC)

Error Help
I have Java 1.6.0_29. Is that OK?

It says I don't have enough ram. When I try to join, it always takes too long to log in. Not sure what to do. Do either/both have to be fixed, or is it something else?

I have 32-bit Windows Vista.

Mac issue
I run a mac and when I execute start.command I always get the following:

admin/op.txt
2. Add your username to the admin.txt and op.txt. Admin.txt allows you to execute server commands, and op privileges allows you to destroy/place blocks.

Isn't it ops.txt? is admin.txt still used? TiriPon 20:51, 5 January 2011 (UTC)

Old server version linked
It may be worth mentioning in the download section that the link at the top of http://www.minecraft.net/servers.jsp results in one downloading an extremely out of date server. Mirth23 23:47, 22 February 2011 (UTC)

Permissions?
I run a 15 inch macbook pro (1 or 2 models ago) with mac OS X 10.6.7 (the most current). Im trying to start my minecraft server via "start.command". Yet, "I don't have permission." I tried unlocking the file info window and changing my permission to read and access. Even when I do and the changes are saved, I still don't have permission. Help please?

Nevermind. I just changed the permissions for "net.minecraft.server.MinecraftServer" and everything is fixed.

Hamachi
How do I sign up for admin rights using Hamachi? Joev14 19:57, 27 April 2011 (UTC)

Split this article?
This article is very confusing to read. I believe splitting this article into "Windows Help" "Linux Help" and "Mac Help" would greatly improve the article. Hailfire 15:28, 6 May 2011 (UTC)

I agree. Mepholic 20:05, 4 June 2011 (UTC)


 * Me too... -- M3tal_Warrior -- 20:04, 15 January 2012 (UTC)


 * I think this would be a good idea.


 * Maybe we can spit the article into seperated parts to understand it better. Pterchang4ever 17:04, 3 April 2012 (UTC)Pterchang4ever

Hamatchi Admin?
Make it more clear how to become an admin on hamatchi, I can't figure it out for the life of me.

Hamachi Admin not needed
As far as I can tell, to set up a Hamachi server you do not actually need to have "Admin Rights" as the article states. You just need to click Network and then Create a New Network. Whoever joins your server just clicks "join an existing network" and then enters the network name you specified. There are tons of videos about it on Youtube. I am running a server and I never signed up for "Admin Rights". Please change this, if it has not been changed already.

p.s. If you are trying to set up a server, Hamachi is a lot easier than port forwarding. Bobthejeffmonkey 23:48, 30 May 2011 (UTC)

Swappiness on Linux Servers?
Has anybody experimented with swappiness on Linux based Minecraft servers? There has been a lot of debate over whether servers vs. desktops should swap more or less. The general consensus is that servers should swap memory more, while desktops should swap memory less.

Some good reading on this right here.

I have a suspicion that lowering the swappiness on a Linux based Minecraft servers will lower the load time for chunks that people haven't seen or been in for a while. Mepholic 20:27, 4 June 2011 (UTC)


 * You may decrease the swapiness, but that won't do anything until your RAM is filled up to ~95%. Debian Squeeze sees the SWAP as a backup and won't really use it until it has no other chance. If you want chunks to be loaded as fast as possible and have considerable free RAM (at least the size of the whole minecraft server), you may use /dev/shm as server directory (ATTENTION: THIS IS THE RAM ITSELF - ANY REBOOT WILL DELETE ANYTHING IN HERE!). Wait, I'll just upload my initscript... -- M3tal_Warrior -- 19:51, 15 January 2012 (UTC)
 * Update: Did it. See http://www.minecraftwiki.net/wiki/User:M3tal_Warrior/Server_Startup_Script

Java Virtual Machine still not working
XP Machine has 2GB of Ram, which should be plenty. Online version of the game works fine. But every time I try to run minecraft.exe, it says "failed to start Java virtual machine". Any steps I'm missing? Chadlupkes 02:10, 18 July 2011 (UTC)

Ans: just open the .jar

Alternative Java packages
Arch Linux has alternative java packages in community besides openjdk:

community/jre 7-3 Oracle's Java Runtime Environment community/jdk 7-3 Oracle's Java Development Kit

jre is all that's required for the Minecraft server to work. -Worldwise001 06:32, 9 August 2011 (UTC)

Setting up Ports
Here's some proposed information to add regarding setting up ports and connecting (which probably could use editing)


 * What reasons are there for changing to a different port number?
 * The default is already in use.
 * You want to run more than one server- each will need its own port.
 * The default is blocked. Some networks might have the minecraft port blocked to prevent people from running servers, or to play at all. Usually you'll only see this in places like schools, businesses, or public WiFi hotspots.
 * Preventing random scans from potential attackers. (see note on security below)


 * How to change the default port
 * If you want to use a different port than the default, change it in the server config file. It's usually not a good idea to use port numbers between 0 and 1023 since they are reserved. The highest numbered port which can be used is 65535.
 * For a list of commonly used ports check Wikipedia.
 * You will need to update your port forwarding rule to match your server port. If you run more than one server, each one will need to have a different port number (and its own forwarding rule).


 * If it keeps saying the port is already in use
 * You might have a firewall, antivirus, or other security program blocking it. You also might not be running it with the correct permissions, depending on what OS you're using.


 * How to connect to a server using a non-standard port
 * Users who wish to connect to a server which is running on a non-standard port must add a colon and port number after the IP address. (example 192.168.2.3:25590 if the server port is 25590 and the IP it's running on is 192.168.2.3)
 * This will also work with DNS, and dynamic DNS, so for example "minecraft.mydomain.com:25590" will work instead of the IP address, but note the port number must still be used.
 * You WILL have to add the port number even if you're connecting to a server on your own local network.


 * A note on security
 * Changing your port is not a very strong security feature on its own.
 * It's mostly only useful to avoid detection by someone who is just randomly scanning ports, but as minecraft gets more popular it's more likely that it will start being scanned for specifically.
 * If your server is getting attacked then it's probably a better idea to just change your IP address instead. (Most ISP's will assign a new IP address when your router's MAC address changes.)
 * Also, you'll have to tell everybody what port to use or they can't connect. So it's most useful if you run a purely private server.
 * Nagroth 11:39, 20 August 2011 (UTC)

I can't get my server to work
I am trying to set up a server, but when i try and test it, it keeps saying it can't connect to it. I am using the beta 1.8.1, if it helps anybody.


 * I tried to connect to my own server, but it says - Connection Lost, Failed To Login: Bad Login. How do I fix this? (Anonymous: 110.175.38.216 - 23:21, 20 January 2012)
 * What have you done? Is it running on localhost? Is whitelist activated? Is the online mode active? Do you have a premium account? Without any info about your system and the variables we most certainly cannot help you, sorry! -- M3tal_Warrior -- 03:54, 21 January 2012 (UTC)

Actual server
I have access to an actual server, not just a PC or laptop, I tried to follow the instructions on installing it but are these directions not for an actual server? 99.177.172.185 11:01, 11 October 2011 (UTC)
 * They are. Server OS are not really different from any other family member, nor are any hardware differences (RAID, multiple APUs, server mainboards etc.) relevant for the minecraft server, so if your server is running Debian or Ubuntu, use the instructions for Debian/Debianlike. The only difference is that you should use screen or something similar to be able to ssh log off and on whenever you like without shooting down the minecraft server. My server's running on a Debian Squeeze dedicated machine and it works perfectly fine. -- M3tal_Warrior -- 08:24, 22 February 2012 (UTC)

Detailed guide video
I've made a detailed, in depth video on how to make a server on Windows. It covers everything, and is pretty helpful. The first time I set up my own server the instructions on this site only confused the crap out of me. Honestly, they're of absolutely NO help for most of the process, and I had to scour the internet for most the set up. My video completely eliminates that, and is pretty in depth on how to to everything, and what everything is. Would anybody be interested in in having it on the wiki? I originally made it for my friend, who couldn't understand this tutorial either. --Deanm 03:20, 5 November 2011 (UTC)

GOD DAMN YES --Delo997 18:28, 6 December 2011 (UTC)

Downloading the.jar
How do you download it? When I download it, it comes on as a ZIP file, not a JAR. Any help on making it a JAR would be appreciated (I run Windows 64 Bit BTW).150.101.196.6 19:51, 13 December 2011 (UTC)


 * The minecraft_server.jar from http://www.minecraft.net/download linked as https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar? is a jar not a zip. If you are getting a ZIP file, something is wrong, maybe your Windows is labeling it as ZIP? Maybe you need to set Windows to display (andnot hide) file extensions. -Aurelius 14:21, 7 January 2012 (UTC)


 * On the IRC channel #minecrafthelp a user reported the Chrome browser was renaming some files to end in ".zip", so I wonder if Chrome is the source of your problem? A similar issue has been reported here: http://www.google.com/support/forum/p/Chrome/thread?tid=1c744e4ff30a95f7&hl=en


 * Accordingly, I have added this precautionary advice to the tutorial: "Ensure the filename is precisely "minecraft_server.jar" (without quotes), in case your browser has renamed it to something else." -Aurelius 12:53, 11 January 2012 (UTC)

Answer:
This is how (Works on IE 9):

Click the arrow by "Save" then click "Save As...", then locate to the directory where you want to save it, BUT DON'T CLICK SAVE! change "Compressed Folder (.zip)" to "All Files" then call it what you like then add the .jar extension to it, save it and DONE! then save it. Now then locate it and right-click the file andclick "Rename" then add .jar to the end then done!

--Dawheat 17:31, 20 January 2012 (UTC)

Problem with java x64
This caption was taken from official java site: " Users should download 64-bit Java software, if they are running 64-bit browsers. For downloading 64-bit Java click 64-bit manual download.

''Note: Online Installation and Java Update features are not applicable to 64-bit architecture. '' Follow these instructions for installing 64-bit Java on your system.

''1.Choose the 64-bit Windows offline download. The File Download dialog box   appears.'' ''2.Choose the folder location. (Save the file to a known location on your computer, for example, to your desktop) and Click Save.  3.Close all applications including the browser.'' ''4.Double-click on the saved file icon to start the installation process. ''"

Obviously I did EXACTLY what this instruction says, clicked the offline installation and all the other steps. However, even after 4 retries my java keeps saving in \program files(x86) and if I open control panel--add or remove programs it shows me: Java(32 bits).


 * Do you have a 64bit operating system? All your tries will fail if you are running a 32bit system, regardless of your browser... -- M3tal_Warrior "They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." (Benjamin Franklin) 20:01, 15 January 2012 (UTC)

Another Error!
I followed EXACTLY what it said and when I ran it it came up with this:

java.lang.NullPointerException at java.io.Reader. (Unknown Source) at java.io.InputStreamReader. (Unknown Source) at net.minecraft.server.AchievementMap. (SourceFile:15) at net.minecraft.server.AchievementMap. (SourceFile:9) at net.minecraft.server.Statistic.d(SourceFile:38) at net.minecraft.server.CounterStatistic.d(SourceFile:15) at net.minecraft.server.StatisticList. (SourceFile:24) at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:582) at org.bukkit.craftbukkit.Main.main(Main.java:134) java.lang.ExceptionInInitializerError at net.minecraft.server.LocaleI18n. (SourceFile:5) at net.minecraft.server.Item.l(SourceFile:447) at net.minecraft.server.StatisticList.a(SourceFile:134) at net.minecraft.server.StatisticList.c(SourceFile:81) at net.minecraft.server.Item. (SourceFile:252) at net.minecraft.server.Block. (Block.java:577) at net.minecraft.server.StatisticList.a(SourceFile:117) at net.minecraft.server.StatisticList. (SourceFile:52) at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:582) at org.bukkit.craftbukkit.Main.main(Main.java:134) Caused by: java.lang.NullPointerException at java.io.Reader. (Unknown Source) at java.io.InputStreamReader. (Unknown Source) at net.minecraft.server.LocaleLanguage.b(SourceFile:35) at net.minecraft.server.LocaleLanguage. (SourceFile:21) at net.minecraft.server.LocaleLanguage. (SourceFile:10) ... 10 more

PLEASE help me!!! --Dawheat 17:21, 20 January 2012 (UTC)

Pictures (Click the link):

Image 1.)


 * You're trying to run the bukkit server, am I right? Then follow the install instructions at bukkit, not the ones here. -- M3tal_Warrior -- 22:25, 24 January 2012 (UTC)

Page Vandalism

 * The page was vandalized, I tried to revert it but I can't because I'm not an established editor. Reasons for being unable to edit are understood; just trying to bring it to someone's attention. 66.193.54.250 21:13, 24 January 2012 (UTC)


 * Okay, so...This talk page was vandalized, and that got fixed almost immediately, but the main 'Setting up a server' page is still 'madre' with a billion e's. 66.193.54.250 21:46, 24 January 2012 (UTC)


 * Restored last version. Let me know if there's something missing... -- M3tal_Warrior -- 22:22, 24 January 2012 (UTC)

Please guys i need help im trying to make a server so me and my friend can play together!
level-name=Bread 'n' Beard [...]
 * 1) Minecraft server properties

Plus im on the minecraft version 1.1 and my username is in the ops file so .. im stuck.. i followed the instructions you placed up as best as i can? can you help D:


 * First you shouldn't use quotes within a level name - I'm almost dead sure Minecraft won't be able to deal with that. Second: We miss certain information about your configuration, i.e. what operating system you're on, if it's a dedicated server machine and what exactly your problem is. We want to help, but without that it's like poking fog.
 * -- M3tal_Warrior -- 02:05, 18 February 2012 (UTC)

Login problem
Q: I can log into the server while on my computer, but my friends can't. I KNOW I'm giving them the right code.
 * Which code? You mean the IP-Adress? Are they in the same network as you and the server are? If they're sitting at home and your server is somewhere else (i.e. your home), you almost definitely have a routing problem. Forward the port on your router to the port of your minecraft server machine and give them your external IP - then it should work (at least until the automated disconnect by your provider - you might check out dyndns.org to fix that). -- M3tal_Warrior -- 10:59, 20 February 2012 (UTC)

--- I've got a similair problem here..Everytime I try to log in, it says User not premium or something like it. Dandelion2 –Preceding unsigned comment was added by 101.169.42.165 (Talk) 06:37, 26 June 2012‎. Please sign your posts with


 * That's the game's not-so-subtle reminder that you're supposed to pay for it. -- Orthotope 07:25, 26 June 2012 (UTC)

Starting issues - Windows
Q:I run my sever using minecraft_server.exe, but then i can't run my minecraft, or vice versa, please help.
 * You can't RUN the minecraft server? What error messages do you get? Which Windows do you run on your machine? And is your Java up to date? Are server and client in different directories, or have you done some special thing and forced the server in at "%user%\Application Settings\.minecraft\"? If you've done that, it might be your problem, because the server might use (and lock) some files your client is in need of and vice versa. Use different directories.-- M3tal_Warrior -- 10:59, 20 February 2012 (UTC)

Q: when anyone tries to log on the get this error: [INFO] Disconnecting /5.209.208.207:54021: Took too long to log in [INFO] /5.209.208.207:54025 lost connection A:

Starting issues - Part 2
Q: Mine doesn't run at all What do I do?
 * Brilliant! Try turning it off and on again! - OK, sorry, that was nasty, but how do you think we can help you without knowing ANYTHING about your system at all? -- M3tal_Warrior -- 11:24, 20 February 2012 (UTC)

Server doesn't recognize logged in user
Q: While I'm running a game on mine, it can't "find" my user name. I followed the directions, but anytime time I do a tp or give or anything it says user can't be found. How can I fix that?
 * Well, which user name did you add to the ops.txt - your machine login name or your minecraft login name? I hope the last. You have to write it in full, since minecraft is not able to "autofill" it like the linux terminal does with TAB. Next question: Is your server in online mode? It should be, if there are no serious interests in keeping it offline (i.e. logging in with pirated copys). Then: Is this only a problem of yours or do other players have that too? And last: Do you enter the commands ingame or on the server console? -- M3tal_Warrior -- 11:24, 20 February 2012 (UTC)

Trouble Connecting to my own server
Hello, I am having trouble connecting to my own server from the computer that is hosting the server. I am running Windows 7 64 bit OS, with java 6.

When I try to connect, my java window shows this: (numbers replaced with # for privacy) [INFO] /###.###.#.##:##### lost connection

Strangely, my friend sitting next to me has no trouble connecting. We are on the same network. The first time I tried to connect, it worked, but the second and each succeeding attempt failed.

What could be causing my difficulty with connecting?


 * Since I'm running client and server on different machines (at least one of that a linux machine), I'm just able to give a guess. Do you try to connect to your server with your computers IP or do you use the localhost interface (127.0.0.1)? It shouldn't be of any difference, but maybe the servers a little buggy on that subject - try both versions. I know the server has issues regarding slow connections and slow clients too, so if your computer is a little bit on the edge with hosting both game and server, that might be something to think of (since you could connect the first time, when you generated your world and can't while other users are logged in). As everywhere the rule stands: Fastest machine is server machine. Your free RAM should be 2 GB or more too, since the server will use one and the client (minimum) too. And since you have at least two physically separated APU cores, try to bind the server to one while the client uses the rest. Process Explorer (Microsoft Technet downloadable) helps you there. That's all I can think of right now. Good luck! -- M3tal_Warrior -- 09:00, 21 February 2012 (UTC)

Setting a server while not premium
I am playing minecraftforfree.com am I allowed to make a server?
 * Notch did state multiple times that he's OK with pirating, though if I like a game I'd feel ashamed not to pay for it. So the appropriate answer to your question is - from the legal point of view: no. From the moral point of view: NO! And from the point of view that noone will hunt you down for it: propably yes. If I was you, I'd buy the game. And in fact I bought it a couple of times... -- M3tal_Warrior -- 11:28, 21 February 2012 (UTC)

I hope this website will be removed quickly.Maxum 20:32, 25 February 2012 (UTC)

The website has been shut down by Notch, which is good because I hate crackers.--Pigisdeado 21:09, 22 April 2012 (UTC)

Modding
OS: Mac OSX 10.6.8 Non-dedicated

I run my own server (vanilla). Is there any way I can mod it? 75.118.73.118 22:28, 21 February 2012 (UTC)
 * There are some mods that work with the vanilla server, but I'm the wrong man to help you there. See the Server Mods Page for a short description. -- M3tal_Warrior -- 08:16, 22 February 2012 (UTC)

QUESTION!
Hey guys I'm new but i really need help... I really need to know how i can Minecraft Server join with (Hamachi) and Minecraft 1.1 cracked. I'm using Windows XP and my friend has a server namer Nunez11 with an IPv4 of 5.164.228.210 and an IPv6 2620:9b::5a4:e4d2 Please help –Preceding unsigned comment was added by 75.5.68.163 (Talk&#124;Contribs) 01:47, 25 February 2012 (UTC). Please sign your posts with
 * Best place for your question: www.minecraftforum.net (and why cracked?) :/ -- Oliver Scholz  Wiki Admin 02:00, 25 February 2012 (UTC)

plugins
i am running minecraftserver.exe and everything is fine, but i cant figure out how to install plugins. any help is appreciated. thanks IcYBuLLDoG 20:15, 25 February 2012 (UTC)IcYBuLLDoG

We don't provide support here. Ask on the forums/IRC instead. The vanilla server doesn't have any plugins, also. C ali nou - talk × contribs » 20:25, 25 February 2012 (UTC)

Issues with the ram upgrade
I performed the batch file thing exactly as the guide said. If I run the batch file now(normally), I get much more RAM, but it doesn't have the necessary admin permissions. However if I run as ADMIN I get an error saying It couldn't find the Jarfile. I'm using the exe version on Windows 7, on a laptop with 6G of RAM. I have no idea how to make it work with a reasonable amount of RAM. Please help!

By the way I can connect to the server fine with the (very) limited RAM.

82.5.189.233 20:42, 25 February 2012 (UTC)

Why can't my friends log on to my server?
I made the server on Windows. I have 64 bit Java. I definitely port forwarded, but they cant log on. I found my ip from ip chicken and gave it to my brother. I play using ip localhost. We run on the same router. I can play, but he cant. He keeps getting "Connection refused connect" or "connection timed out" Thanks to anyone who can help. 21:29, 26 February 2012 (UTC)
 * Wait. Your brother plays on the same network as you (sitting in your room/home)? Then the IP-Address from IP chicken won't help. Give him your local IP, you find it out when using the terminal (cmd) and type "ipconfig". This is the IP your brother should use. External IP is only important when playing with users outside your LAN. Do check your firewall settings too - the firewall has to pass every packet (I'd say UDP and TCP, but am not sure) to go for the port. Then: Do you use the original port for your server? If not, your brother must specify the port number. And: If you have your server running white listed, then you and your brother must both be in whitelist. -- M3tal_Warrior -- 23:23, 26 February 2012 (UTC)

Java Cannot reach the jarfile.
I am trying to add more RAM to my server. I used the Minecraftwiki tutorial on allocating more RAM and copied exactly what it said. It didn't work, so I changed it to jre6. I also changed the RAM allocation to 1024 because I don't think my machine can support 2 Gb. Now when I run the batch file I get a window entitled "Java Virtual Machine Launcher". In it, it says "Unable to access jarfile Minecraft_Server.exe". The command window also comes up with the batch file text in it. What's going on? What do I need to fix? –Preceding unsigned comment was added by 74.99.145.212 (Talk&#124;Contribs) 00:41, 28 February 2012. Please sign your posts with
 * Is Minecraft_Server.exe in the same directory as your batch file? -- Orthotope 05:30, 28 February 2012 (UTC)

Assuming you mean folder by directory, no. I have a folder with just the server application, downloaded from Minecraft.net in it. When I started it all of the necessary files were created. This is all I have in there. This folder is on my desktop and I have the run file on the desktop as well but not in that folder. I hope that helps. 74.99.145.212 01:41, 2 March 2012 (UTC)
 * That would be the problem. The instructions on the page expect the server to be in the same folder/directory as the batch file. -- Orthotope 06:21, 2 March 2012 (UTC)

Alright sorry for how long it took me. I've been busy and sick. Anyway, I tried putting the batch file in the same folder/directory as the server launching application and I got the same message. Must I create the run file again and save it directly into the directory that the launching application is in? Am I still missing something? I'll try to give you as much information as possible, just ask. Thank you for your patience.

P.S. - I've tried running the server through Hamachi and it works, but when people try to get on, it's very slow at the beginning and takes a long time to log in. If it is easier to fix this, I'm all for it. P.P.S.- Scratch that. Now both myself and friends are getting a message about it taking too long to log in and being disconnected (on the Hamachi thing).

Splitting
recently tried to split the sections on installing Java and allocating more memory to the server into their own articles. I believe Ultradude25 missed this intention when he deleted the new articles, which were in the main namespace. I think splitting these topics is reasonable; it shortens the article and makes it more specifically about configuring a Minecraft server. The new articles should either be in the Tutorials/ namespace or be subpages of this one; I'm not sure which is more appropriate. Anyone have opinions on this? -- Orthotope 08:58, 1 March 2012 (UTC)
 * As stated above it would be more reasonable to split the article into the three most obvious main sections: Windows, Linux, MacOS/BSD. I definitely agree that the article is too long and too mixed up. -- M3tal_Warrior -- 09:43, 1 March 2012 (UTC)

RAM allocation setting in Terminal/Batch
Either we now use the Gigibyte-setting in the command line, and rewrite the text (which talks about MiB atm), or we rechange it back to MiB and leave the text. By the way it's fatally wrong to explain the server would only use 100 MB by default while starting it with a "-Xms2G" - that is horseshit. The server might use only 100 MB in idle, but it WILL reserve the full 2 GiB, needed or not, and therefore "use" it - for spare. I personally don't have the time to do that myself, but since talk's about to split the article, it would be on the way to change that too. -- M3tal_Warrior -- 16:13, 2 March 2012 (UTC)

Updating issues
Hi all, I'm new to this "hosting a server" business, and I'm trying to update my server to 1.2.3 while keeping my 1.1 map. For some reason the map is being deleted (except for the player files, apparently, because all of my inventory is still in my inventory) and overwritten with a new map. I've restored it from a backup several times, all with the same result. After some Google searching I've wound up more confused and frustrated, and I was hoping someone on here would be able to help me understand the problem. Is it a map conversion issue? How do I convert the map? What's going on, exactly? Thanks in advance for your time. --24.18.232.224 03:20, 3 March 2012 (UTC)
 * 1.2 introduced a new map file format; worlds should be converted automatically, but it's possible something is going wrong in your case. The forum is generally a better place to go for technical support. -- Orthotope 03:40, 3 March 2012 (UTC)

Empty Port
I could not find empty port! Can someone help me?
 * Use the standard port 25565. -- M3tal_Warrior -- 20:32, 3 March 2012 (UTC)

Additional players cannot connect to server
Operating System(s): Window 7 Java version(s): I -think- its the latest, but couldnt find out. Its at least 6 One machine

Exact description of the problem WITH WhatHaveYouDone and error message: Ok. I have downloaded the newest server file from the minecraft downloads page, handled everything as far as setup goes according to instruction, and I can log in without any issue. However, my internet is run through a wireless network routre(I dont know its type or model), and my roomate cannot log into the server. Havnt tried to connect any friends from other locations yet. My roomate says it isnt found. We have run into this in an earlier version and couldnt deal with it due to the owner of the network connection not allowing us to try anything with the settings.Also, Whitelist is OFF. What you were trying to do : I am trying to make it so that I can allow others onto my minecraft server. What you did so far: Not much. We have tried both Internal and external IP addressess. Any errors you encountered: Cannot connect other plyers to my existing server. (ver 1.2.3)
 * OK, so basically your server is working fine and at least reachable from the same machine it's running on. I'd personally screw any ideas about the router, it shouldn't be your problem, since for internal connections it works like a switch (no firewalling, just handing through). External IP doesn't work either, 'cause then the router has to be configured (you're leaving internal space and therefore port forwarding is needed). It sounds like you have encountered a classical personal firewall problem. Reconfigure the Windows7 Firewall (or the one of your choice) for the port you're running the server on, to just hand through every packet (TCP) that is to enter or leave the port. Maybe you have to grant server rights to java too, but I'm skeptical about that. At least the minecraft_server.exe has to be granted server rights in your firewall, then it should work for every connection inside your LAN. Like I said, for external connections the router has to have portforwarding enabled for port 25565, but the firewall thingy will work then too. -- M3tal_Warrior -- 10:19, 4 March 2012 (UTC)

other people can't connect
i follow the directions on the tutorial its port forwarded for the 25565 and set to pass on all packets through it and yet every time someone tries to log in with the external ip the connection times out niether of the two people i have invited are on local area network either


 * Your problem is your personal firewall. Set it right on passing packets through for that port. But before think about your computer knowledge, if poking holes into your router firewall is really something you can deal with. -- M3tal_Warrior -- 00:27, 9 March 2012 (UTC)

actually it already has been configured to pass all packets through that port which is why i was so confused when it didn't work correctly.
 * You don't forward ports in your personal firewall - this is NOT your router firewall, but the firewall in your system (Windows firewall). You forwarded ports on your router to your computer, but for the server software it is necessary that your Windows firewall is allowed to pass those packets to the software too and not to block them by arrival. -- M3tal_Warrior -- 09:33, 9 March 2012 (UTC)

Help me please preferably a mojang employ
I tried to make a minecraft server and was following off somebodies youtube video how to it worked for the guy but not for me. I would type in the server ip and all i get is connection timed out. Please help me all i want to do is play on a private server with my friend.


 * Firewall problem. Same as above. And don't follow some youtube vids, follow the instructions on this wiki article for your system. If you don't know what you do, ask for a private server for you to play on, for running servers you don't know nothing about is a security risk. -- M3tal_Warrior -- 00:30, 9 March 2012 (UTC)


 * Allow java through your firewall.

Warning message
Since we're getting flooded with questions how to set up a server by people who can't even spell "network security" (no offense meant), I think we should put a warning message on top of the article. I can almost feel we're building an army of zombies out there, run by guys who don't know nothing about their (Windows) system. In my opinion running a server on a root system forwarded to the internet is something only people should do who definitely know what they're doing. What do my dear colleagues think about that? -- M3tal_Warrior -- 00:38, 9 March 2012 (UTC)
 * I now edited the article, since it's been roundabout 10 Pampers boys crying for help since then. -- M3tal_Warrior -- 14:56, 22 March 2012 (UTC)

Starting server help.
I am trying to start a server for me any my friends. The server is set up and everything but no one (including me) can access it. I am running Minecraft 1.2.3 with the latest version of java(java 6) and latest version of the server.exe. i have no clue what is wrong or how to fix it. can anyone help me figure this out?
 * Is your java.exe (or, depending on your Personal Firewall) your minecraft_server.exe allowed to pass the firewall at your desired port in both ways (incoming and outgoing)? Sounds like you missed that one... -- M3tal_Warrior -- 01:25, 15 March 2012 (UTC)

I checked and manually allowed it through the firewall. I use Webroot and Windows Security Essentials and checked both firewalls, even turned them off just to check. It wont let me access it. The server is currently running and when i even try a direct connect it gives me the error of Connection Refused: Connect. is there any further help you can give me? my internet provider is Freedom Net Solutions and i use my computers own personal IP4 so in theory i shouldnt have a problem.
 * Try connecting via the localhost-IP (127.0.0.1), which normally isn't checked by the firewall. If it works then, you made a misstake with the firewall config. Other thing I could imagine is that you have your server whitelisted and your minecraft nick not in the whitelist, or your server is in online mode and you don't login to mojang with your client before connecting to your server. -- M3tal_Warrior -- 13:30, 15 March 2012 (UTC)

Terminal closing
Whenever I open the terminal it stays open for a half a second and than closes, what am i doing wrong?
 * Your Linux is buggy, reinstall it. -- M3tal_Warrior -- 01:26, 15 March 2012 (UTC)

Friends can't connect to server.
I asked two of my friends to join my server, but they couldn't. They got "connection timed out" error. I myself have no trouble connecting. I am using Hamachi. One of my friends had hamachi. We are not sharing the same network. I am pretty sure I gave them the correct IP. I have no mods installed whatsoever. I am using the .jar server. I have 32 bit java, on a quite powerful laptop (can run server without lag and minecraft on best graphics with 40 fps). I have windows 7, with latest java for 32 bit. Whitelist is off and I made them both ops. Maximum players 5. Could anyone help me? Please tell me if you need more information. 31.192.206.227 20:36, 15 March 2012 (UTC)

Can't find Server_Properties.file
I am having trouble setting up my server. No matter how hard i look i can't find the Server_Properties.file. I have a Windows and i am just getting more and more frustrated.
 * Normally it's in the same directory as your minecraft_server.jar. If it isn't, start the server once, it will create one you can modify afterwards. On the other hand you can do it all by your own too, it's just a textfile. -- M3tal_Warrior -- 05:49, 16 March 2012 (UTC)
 * I had trouble with this too. on my copy, its simply called "server". it shows up as a pice of paper.
 * Ah, yes, I see the problem. I'm just used to see all my file endings (you can change that behaviour of Windows of not showing them by simply change the settings - see ). Thanks for reminding me... -- M3tal_Warrior -- 09:42, 23 May 2012 (UTC)

BIG "[SEVERE] Error HELP MAN
All right I am making a server 4 me and my freind i mucked around with it and i am thinking of doing the whole process again but i think i will give it a try

so here is my Prob

[severe] Unexpected exception

can u help thanks!!!!!
 * Wow, that's unexpected. As I tried it with your exact system configuration I've never seen this error. -- M3tal_Warrior -- 05:54, 16 March 2012 (UTC)


 * NEVER do something that you don't know about!!! This is a problem when incorrect information are found.--Pterchang4ever 01:33, 9 April 2012 (UTC)

Ram Problem
Hello, I have a Windows computer running Java 6. When I click on my run.bat file for more ram, It pops up and quickly dissappears. Here is the text in the file:

"C:\Program Files\Java\jre6\bin\javaw.exe" -Xmx 1G -Xms 1G -jar "Minecraft_Server.exe"

I have checked the path file and it is exact. Trust me. It is the correct java and not the offline one. When I change javaw.exe to javaws.exe it starts but then it says this:

InvalidArgumentException[ Invalid Arguments Supplied: {1G, Minecraft_Server.exe 1G}]

at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) atjava.lang.Thread.run(Unknown Source)

This is when it is javaws.exe and not javaw.exe When it is javaw.exe it does not do anything.


 * Try this:

"C:\Program Files\Java\jre6\bin\javaw.exe" -Xmx 1G -Xms 1G -jar "%PATH_TO_SERVER%\Minecraft_Server.exe" for example "C:\Program Files\Java\jre6\bin\javaw.exe" -Xmx 1G -Xms 1G -jar "C:\Program Files\Minecraft\Minecraft_Server.exe" This should render every change to the path of your Starter.bat ineffective, since it always has fixed paths. But I'm running on Linux, so this is only a suggestion. -- M3tal_Warrior -- 18:58, 17 March 2012 (UTC) The .jar file may also not be in the server folder.

How to connect a server?
Hi I can join some servers in browser (http://www.minecraft.net/classic/list), but I dont know IP-adresses of them to play via Minecraft client. How to play online via client?
 * With the Sysinternals Process Explorer (MS Technet Download) you could see which IPs your browser is connected to, therefore find out the IP of your desired minecraft server and type it in your client. There might be other ways, but since the program is a gem for Windows (replacing the ineffective task manager), you may as well do it this way. -- M3tal_Warrior -- 19:06, 17 March 2012 (UTC)

error about the server port
when i try to put in my ip for others to connect it says exactly

[INFO] Starting minecraft server version 1.2.3 [INFO] Loading properties [INFO] Starting Minecraft server on **.**.**.***:25565 [WARNING] **** FAILED TO BIND TO PORT! [WARNING] The exception was: java.net.BindException: Cannot assign requested address: JVM_Bind [WARNING] Perhaps a server is already running on that port?

the stars are to protect privacy
 * Did you start your server twice accidently? And don't put your IP down in the server.properties, it will screw the thing in most configurations. -- M3tal_Warrior -- 14:40, 22 March 2012 (UTC)

I cannot connect to the server!
I put my IP adress at server.propierties and I open the Minecraft_Server.exe and this is the problem: ****FAILED TO FIND TO PORT! Whats the problem?
 * Why don't you blokes always fail to read the bloody instructions? It says "Don't put your IP down in server.properties". Are you network admin on a server with multiple (virtual) interfaces? Guess not! -- M3tal_Warrior -- 14:51, 22 March 2012 (UTC)

How to connect to my server?
I'm setting up a server for the first time. How do I set up my server so that I can connect to it via Minecraft?

Overall, how can I find my IP address?
 * DON'T! Don't do it! Begin with simpler and better known and supported server software (like apache or openssh), but don't set up a server without knowing anything about computing and networking at all! Setting up a server is not a game, it is and will always be a security risk, at least in the hands of a newbie, since you will be forced to bring down your firewall at least at one port. On Windows you can find out about your IP when running cmd and typing 'ipconfig'. -- M3tal_Warrior -- 14:37, 22 March 2012 (UTC)

That's... uh... kind of why I'm asking you.

So, I e-mailed my friend and gave him the IP address that I got from "ipconfig" in the Command Prompt. He stated he could not connect, and said to Google "what is my IP". Using that, it still did not work. Any suggestions? I am using Minecraft_Server.exe from the Minecraft Downloads page.
 * That's why you guys should not do that - because you have no idea what you're doing. But OK, I'll help you bringing your only working security wall down. Your life... But first READ EVERYTHING before you start. It's a bit to be done.
 * Log into your router. First of all you need to check if DHCP is enabled (Networking section). Deactivate it. Then you type ipconfig in your command line as stated above to find out your current IP. Navigate to Network adapter settings in your Windows, and into the properties of your network adapter for which you found out your IP earlier. Change the IPv4 from "automatic (DHCP) to "static" and type in your IP, your Subnet Mask (which should be 255.255.255.0), your gateway (which is your actual IP except the last section, which should be 1 for 99% of the planet - i.e. your router address), and at least one DNS-Server (it's your routers address again).
 * Why all that IP changing? Because you're about to bring down your router firewall at one point. And if you do that, it should be your computer at the front line, and none else (with DHCP there could be the case that another computer is forced to use the IP you will be entering into the port forward router config). BUT: Every computer on your network has now to be configured manually - the same way as your computer had to be (i.e. the static IP setting).
 * So, now you log into your router again. As you have changed nothing important to the communication, there should not be any difference occurring to your router. Now you search for "port forwarding". There you have to configure 3 things: The port on the outside (of your network), the port on the inside (at your local computer) and the IP of the computer this tunnel is ending on, i.e. your computer. The ports should be standard (25565), the IP that of your computer. Save it and you're done. Your friend can connect to your server as long as javaw.exe is allowed through your local firewall at least at that port (or minecraft_server.exe, I have no clue what which firewall needs to know to specify the server program). And if your friend is outside your local network you need to give him your "outside ip" every time, as long as you don't want to setup dyndns. If he's in your local network, SCREW EVERYTHING IN THIS TUT and instead give him just your local IP you found out with ipconfig. Your firewall needs to pass javaw.exe/minecraft_server.exe through though! -- M3tal_Warrior -- 11:23, 26 March 2012 (UTC)

Problem connecting on other computers...
When I try to connect onto my server with a different computer, it says:

Failed to connect to the server

connection refused: connect

How do I fix this? I've tried it with my brother's account, too, but got the same thing!
 * See above. One word: FIREWALL! -- M3tal_Warrior -- 14:53, 22 March 2012 (UTC)

Easier instructions
My friends and I want to set up a server, but none of us know anything about networking and the instructions on this page are extremely hard to follow for us. We got someone else to do it for us once, but it was really buggy and he didn't bother to teach us how to operate it (change settings, fix problems, etc.). Can someone please rewrite the page so it's more user-friendly for people who don't already know what they're doing? Or failing that, can someone please provide a link to a website that has such instructions? Xiarles 23:17, 24 March 2012 (UTC)
 * Hopefully not. If you don't get that setup, (which btw. is as easy as it could propably be) running a server is not what you should do. I guess it'd be better for you to just search for a server that fits your needs. If you like you can play on my server, if you comply to the rules and give me your minecraft names (for it is whitelisted). But beware, we're changing the map in a couple of days, and if you grief you're out. -- M3tal_Warrior -- 02:09, 25 March 2012 (UTC)

Can you at least link me to a crash course in networking or something? I'm a fast learner, I just don't know where to start. And thanks for the invite, but we'd prefer a private server if we can manage it. Xiarles 19:36, 25 March 2012 (UTC)
 * Actually I learned my knowledge all by myself in many years - and it took me 3 years managing a local fileserver until I felt ready for a local webserver with wiki and torrent tracker in a selfmade network with 50 people trying to hack it. I learned while being helped by a friend, a howtohack book, an IT training school and by being attacked - not very skillful, but with feedback. After two years of learning on a Debian machine I now opened the gate into the world wide web. That's my story, and it's not easy to press all that into a little knowhow. The book alone is as big as the Bible... If you like to learn about networking, try . It's for Ubuntu Linux, but the basics are all the same. And it will be identical to Debian Squeeze, which I would strongly recommend for a server machine, for management and security reasons. -- M3tal_Warrior -- 21:55, 25 March 2012 (UTC)

Multicraft
I made a server with Multicraft
 * This is not the Multicraft Server homepage. If you have problems with Windows Vista, do you ask the Ubuntu Linux staff for help? -- M3tal_Warrior -- 11:48, 25 March 2012 (UTC)


 * If you want to learn more about it, better look for the info. before you download it!!! --Pterchang4ever 17:30, 3 April 2012 (UTC)Pterchang4ever

Another Firewall failure
My brother and I both run Windows. We have the latest version of Java installed. I ran minecraft_server.exe and was able to join it using localhost as the IP, but anytime he attempted to connect to my computer's local IP it timed him out.

He's right next to me, and we're on the same wireless router, and we even tried running Hamachi and connecting via the direct tunnel there - no dice.

I am well aware that "setting up a server is not a game, it is and will always be a security risk, at least in the hands of a newbie" but I am also aware that "the setup is as easy as it could propably be." Neither of these jewels of wisdom are particularly helpful to me, and in my humble opinion it should not be a Sisyphean trial to set up a local multiplayer Minecraft world.

Any help is welcome. Faren22 21:51, 25 March 2012 (UTC)
 * These words of wisdom are just the humble truth, and what you're looking for is the same as most of the people before you - firewall. Localhost will not be checked by the firewall, so you're able to connect to the server very easy, but your brother has to come through it. You need the server exe or the java exe allowed through the firewall, I don't really know which one is it for your windows firewall. -- M3tal_Warrior -- 22:01, 25 March 2012 (UTC)

Not Working!
I'm running on Mac OS X 10.5.8 I followed all of the instructions on the tutorial and my server works, but when i try to connect to it, it says "Lost Connection. End of Stream" and my server log says [INFO] /##.#.#.##:56641 lost connection ( with #'s for the ip for privacy purposes) and my server stops running at all. Please help!! - KingBlc 12:47, 25 March 2012

Trouble opening a port
I have been trying to set up a server for a long time but i keep getting problems. I have a PC (win 7) though the rest of my family went the Apple rout and now we have an Apple Router. I have looked at every tutorial, every video, and yet i still cannot open a port i could not even get an hamachi server running right now i tried opening a port i put in all the stuff but it still says "port not open". Is it because I'm opening the port from another computer i am putting the Local IP of my computer in there so in theory it should work so why cant i get it running?
 * What the heck are you trying to do? Opening a port in your router or opening it on your computer or what? Try full and proper sentences, I'm not guessing anything in a language that's not my mother tongue, and even there... If the server software reports an error, this is almost certainly due to configuration issues with your computer, and only that. The router is no problem at all and it doesn't matter if it's Apple, Netgear, LinkSys or else - most of them are running a Linux underneath. -- M3tal_Warrior -- 00:05, 29 March 2012 (UTC)

whitelist
Windows 7 64-bit

java 6 64-bit

server up and running, with minor edits, difficulty, max players, and whitelist enabled

I found the file for whitelist, thought it was a reference so I added my username to the file and clicked save. However now connecting to my own server is impossible.

Question is: How can I successfully add users to the whitelist?
 * It seems like you've done everything right, so try again with disabled whitelist. If it works then, maybe your whitelist file is corrupt, if not, the whitelist isn't your problem. -- M3tal_Warrior -- 02:03, 1 April 2012 (UTC)

Virtual Server?
Hey y'all so the situation is a buddy and I want to construct in the same place so I created (successfully) a server for us to do that...straightforward so far.

windows 64-bit

java 6 64-bit

the thing is, I travel a lot for my job, so if he wanted to log on and play how could he?

Is there a way to setup a virtual server so that when my comp isn't on he can still get in? Or do I even need to, does it do it already? I'm new to this completely and might have missed the topic that actually deals with this. I'm open to suggestions/ideas/comments/musings/rants/jeers. Thanks for your input! –Preceding unsigned comment was added by 67.160.88.3 (Talk&#124;Contribs) 07:47, 1 April 2012‎. Please sign your posts with
 * It can't be hosted on your computer if you want your friend to be able to access it at any time. If he has a reasonably powerful computer and a reliable connection, you could try setting up a server on his machine. The easiest (but not free) option is to rent a commercially-hosted server. There's a whole section of the forum for them. The quality varies considerably, though, so do some research before committing to one. -- Orthotope 11:20, 1 April 2012 (UTC)
 * Well, actually he CAN host it on his computer (or his old one, for the server doesn't need much RAM/CPU actually), as long as the computer runs all the time. Virtualisation is not what you're searching for, it's just a way to run several servers on one machine. So the short version is: You need a computer running 24/7 to host a server for 24/7 access. If you want to rent one, Strato might be a good company (very friendly, very easy, very helpful). Or just use your old computer, a Pentium 4 should do the trick. -- M3tal_Warrior -- 12:51, 1 April 2012 (UTC)

No idea what isn't working
Ok, start with the easy stuff:

OS: Windows 7

Java Version: 1.6.0_31

Minecraft Version: 1.2.4

No. of Computers: one

What I am trying to do: set up a server that a few friends and I can play on

Now we get to the fun part

What I have done so far: I downloaded the Minecraft_Server.exe from the Minecraft website and followed the setup tutorial on this site but was getting this error: "Disconnected by Server  Outdated server!" Upon looking it up I found this forum page: and from what I can understand from that page, my version of Minecraft is too new for the server software. I followed the link on that page for the download of the newer version. This one is a .jar file so I again followed the tutorial page on how to set it up, and the server software opens without a problem and seems to be running fine, but when I try to get on it gives me errors. If I try to use "localhost" as the tutorial page says I can then it says "Disconnected by Server  Took too long to log in" If I try with my IP then it says "connection Lost  Internal exception: java.net.SocketTimeout.Exception: Read timed out"  (I'm not sure if there was any reason to try that but at this point I'm just trying everything) I had two friends try logging on to each version with my IP and they got the same errors. I'm pretty sure I set up the port forwarding properly - I went to portforward.com as the tutorial recommended and tested it with YouGetSignal which said it is working.

Thanks in advance for any help and sorry that I don't know what I'm doing - if I need to add more information let me know. 75.26.236.146 02:06, 3 April 2012 (UTC)
 * Try this link: https://s3.amazonaws.com/MinecraftDownload/launcher/Minecraft_Server.exe
 * Usually this is the right link. Maybe your problems vanish with that, because I fear it's a Java command line problem. -- M3tal_Warrior -- 10:38, 3 April 2012 (UTC)

Thank you very much for the help, worked perfectly. 75.26.236.146 22:59, 3 April 2012 (UTC)

How to connect to server
Can somebody help me in entering into my server?--Pterchang4ever 17:10, 3 April 2012 (UTC)Pterchang4ever
 * Y U no use proper sentences? -- M3tal_Warrior -- 21:10, 20 May 2012 (UTC)

Failed to login: Bad login
When i try to login through "localhost" i get Connection Lost

Failed to login: Bad login

Minecraft_server.exe just says "[INFO] /127.0.0.1:XXXXX lost connection"

I'm running: Java 6 Minecraft 1.2.5 Windows vista (64 bit)
 * Buy Minecraft. That's your problem. Either that or your name is not whitelisted. -- M3tal_Warrior -- 21:12, 20 May 2012 (UTC)

Different user: I have a valid minecraft account, and can log in from one computer, but when I use my main computer, I get this error. No other information is given (other than the server log "Username [/xxx.xxx.xxx.xxx:xxxxx] lost connection"

Server is Outdated
My friend and I have a server we play on. He hosts it and recently, after a minecraft update, he recieved the message server is outdated, upon attampts to enter the server. Obviously its related to the recent update, but how do we fix it? –Preceding unsigned comment was added by 74.99.145.212 (Talk&#124;Contribs) 16:44, 7 April 2012‎. Please sign your posts with
 * Did he remember to update the server software? This could happen if he only upgraded the Minecraft client. -- Orthotope 02:12, 8 April 2012 (UTC)

Is that not included in the update? Okay, where would he find the updated software? –Preceding unsigned comment was added by 74.99.145.212 (Talk&#124;Contribs) 15:20, 8 April 2012‎. Please sign your posts with


 * Here, bottom of the page. They're separate, since most people don't need the server. -- Orthotope 15:32, 8 April 2012 (UTC)

Thanks a bunch. I'll have him get that soon.

run.bat not working
Each time I open the "run.bat" file, there is a pop-up window with the message:

Could not create the Java virtual machine. What it is exactly telling?

--Pterchang4ever 15:32, 8 April 2012 (UTC)Pterchang4ever

Error: connetion refused:connect
My friend is trying to connect to my server, but this warning message: connection refused: connect. What do I do? 89.147.99.64 15:16, 11 April 2012 (UTC)

Help in the 'LOGIN'
Hi, when I try to join my own server. It says. "USER NOT PREMIUM!" but I made this server myself. HELP? –Preceding unsigned comment was added by 23.16.202.25 (Talk&#124;Contribs) 20:12, 21 April 2012‎. Please sign your posts with
 * Either set  to false, or actually buy Minecraft. -- Orthotope 22:33, 21 April 2012 (UTC)

Hold on. This is just weird. I just bought Minecraft, but for some weird reason it didn't appear on my desktop. And I registered but it seems to me that it says "User not premium!" to me as well.. This is a big issue, and Notch needs to fix it. I'm not happy! >:[ Dandelion2

Port Map Always says router incompatible
But why Port Map can't find my router IP?

I followed the video tutorial at the beginning of the tutorial, but, not working...
 * You are one of those persons who shouldn't run their own server, because of having no clue what a network is, how it works and how to shape it to your needs. Your router IP is the same as yours, except for the 1 in the last block. Your router can't be incompatible to a game which works on OSI layer 7. -- M3tal_Warrior -- 21:16, 20 May 2012 (UTC)

Well, hold on, if Minecraft had server making, then why do they allow players to make servers when they don't know how to? The answer is, it's because they aren't really internet skills. But I absolutely agree with you. Don't run a server if you are the absolute beginner at internet-server-making. Notch should make people to go to HIS servers that he makes. Or can't he do it, and let other players make them for him?? :| Samuel29K

Can't keep a world save from vanishing during server updates, need help!
I'm not sure if this is the correct place to ask this question, and I can't give server info as its not my server, I'm asking for a friend who doesn't have an account here... but our problem isn't in how the server operates in game. Our problem is that every time a new server.exe or server.jar (not sure which one he uses but i think its .exe) our world gets wiped clean and we have to start over.

I know its possible to have a persistent world between updates, and as we have gotten quite established in our 1.2.5 world, I'm fearful of a new patch wiping us out. Any suggestions on how to solve this problem, a link to where this question as been asked before, or even if you can direct me to the correct page to ask this question would be much appreciated.

Thank you to all who take the time to read and respond.

Help!
P

I just finished your tut for windows i am running windows 32x bit and vista i have java 6 and all that jazz.

when i ran start server.batch it said

FAILED TO BIND TO PORT

THE EXCEPTION WAS: JAVA.NET.BINDEXEPTION: ADDRESS ALREADY IN USE: JVM_BIND

PERHAPS SERVER IS RUNNING ON ANOTHER PORT?

I don't know what that means maybe you guys can tell me but I hope you can help

PS: Can i play on my server if i do this?


 * Have you read EVERY single detail about starting a server? Make sure you don't write your IP adress on server.properties . That will create the most problems. Link: http://minecraftwiki.net/wiki/Server.propierties

Pterchang4ever--Pterchang4ever 02:14, 8 May 2012 (UTC)

Java and batch file problem.
I can't figure out how to switch from jr7 back to jr6. PLEASE HELP!!!!

NOTE- With 32bit java, the command line should be: "C:\Program Files\Java\jre7\bin\javaw.exe" -Xmx1G -Xms1G -jar "Minecraft_Server.exe" it seems 32bits java cannot use more than 1G, and the batch file will not launch the server.

Can't connect to my server
Each time I try to connect to my server it always says:

Connect Refused:connect --Pterchang4ever 21:46, 11 May 2012 (UTC)
 * Would you please just update your topic instead of creating new ones every 5 lines? -- M3tal_Warrior -- 21:17, 20 May 2012 (UTC)

Minecraft server not working.
Hey all, I'm having some trouble with my minecraft bukkit server. I can get other people on my network to connect but no one else. Every time someone tries to connect that's not on my network, they get an error message and can't connect. I've made sure the ports have been opened and forwarded, and my ip is static. However, when i go to port checking websites, they say that the ports are still not open. I can still connect to other people's servers so what am i doing wrong? I had this same problem when I use the server program that is provided on the minecraft website.

Please Help.

ArcmageMyrddin


 * Read top red box. This is not the Bukkit forum... -- M3tal_Warrior -- 21:19, 20 May 2012 (UTC)

Issues?
I'm running Java 7 64 bit, windows 7 computer, and (as far as I know) the newest version of minecraft.

Aaaaand, here's what I've done so far.

Like a moron, I went and downloaded the server file without reading ANYTHING about what I had to do-and, shockingly, didn't get a single error message. I opened the port needed, and sure enough, my friend could connect. I know this is an insane security risk, and as soon as possible, will look for a way to make it at least SOMEWHAT more safe.

However, whenever I try and add her as op, it doesn't register in the op.txt file. I added us manually, but that seemed a little strange. Everything else worked-I could TP to her after a bit of fiddling with the server command thing.

But, for some reason, whenever we open up the server, we have to start over? Is it not saving properly for some reason? This happened twice. As soon as I close the server window, and open it again, the server doesn't stay constant. I used the saveall command to save the server, and it said it saved properly, but whenever I open it, it just starts over.

Help, please?
 * So you downloaded the *.exe. Where to? What do you actually do? There's two ways of starting the server, JAR and EXE. Is the server.properties file created in the server folder? Is a world folder created there? Are there any messages on the server on startup, which indicate a full redo from start? Ah, and the /save command is just for writing the RAMs contents to file. If you don't have files, that's your problem then... -- M3tal_Warrior -- 21:25, 20 May 2012 (UTC)

Increasing the Amount of RAM - Wrong.
This section is horribly flawed and horribly ambiguous. Whilst a batch file is probably the most cumbersome way for a noob to execute this command, there are many elements wrong with it, even things as simple as the command itself. "C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Xmx1G -Xms1G -jar "C:\Users\Windows7\Desktop\Minecraft\Minecraft_Server.exe" would be more appropriate for 99% of users running an up to date OS with an up to date Java install. 60.225.69.174 17:08, 26 May 2012 (UTC)
 * I'm not dead sure, but pretty, that your suggested command line is wrong at least at two things: First being that almost every OS today is an 64bit system with Java (64) not installed in your path, and second being no User is called "Windows7", as this folder is to be the users name. At least this was what I have seen so far on multiple Win7 systems. -- M3tal_Warrior -- 00:05, 27 May 2012 (UTC)

External og Internal IP-address
Hi, i want to start a server for my littlebrother today, and read Tutorials/Setting up a server, and found out a lot of it, and i found out that i have a dynamic IP-address, and have to use the external IP so others can find it online, so..

I have to use the external, but do i put that in the IP section in the 'server' file, or do i just use the external IP in the connect inside det game and then use the internal IP in 'server'-file??

When i put the external ip in the 'server'-file, it comes with this message: [INFO] Starting minecraft server version 1.2.5 [INFO] Loading properties [INFO] Starting Minecraft server on xx.xx.xx.xx:25565 [WARNING] **** FAILED TO BIND TO PORT! [WARNING] The exception was: java.net.BindException: Cannot assign requested address: JVM_Bind [WARNING] Perhaps a server is already running on that port? where the xx.xx.xx.xx is the external IP.

And of course i then cant connect to the server..

If i use the internal IP in the 'server'-file and use the external in minecraft, then i get this: Failed to connect to the server Connection timed out: connect

(Sorry for the bad writing.. lol)
 * Read again. Putting down ANY IP in the server.properties file is wrong for 99% of all servers. And I strongly suggest you should be using the server only local, since you don't seem to grasp what you're doing (based on the fact that you found out that your external IP is dynamic - which comes as a surprise only for noobs). But well, it's your computer at risk, not mine... -- M3tal_Warrior -- 00:05, 27 May 2012 (UTC)

I want to create a server on a pre-done map. How do I do that?
Hey, I have this world that I want to share with my friends, but I don't want to start from the beginning with just typing in the seed. I want to show them some work I've done on that map, but I can't seem to get it to do that. Can you guys explain what I need to do exactly, so I can get my single-player map onto a multi-player server?

First of all, we are not made of a wiki. Secondly you can easily click the page. Thirdly read it about single-player map onto multi-player server whatever. Wiki is here for you. Dandelion2

joining other games/worlds
Is there an open network were I can just join other people? In their world? etc. Like on xbox, or do I have to have everyones server, address,etc. I bought this thinking i could play it, like the xbox version ,with my friend on pc. please help me out,so far it is much more complicated.

Can't log in to my own server
Im running Windows 7, and have followed all the steps for Minecraft_Server.exe, but when i get to logging into my server, i get the connection time out error. Im trying to connect to the IP 'localhost' from the same computer that is running the server, ive also tried using my internal IP, neither work.

NO PREMIUM!!
My friend has a server that allows people with non-premium accounts. He doesn't have a premium account either! This doesn't work for my server! I type localhost on direct connect but then it says User not premium! CAN ANYBODY FIX THIS!!?? –Preceding unsigned comment was added by 124.168.12.41 (Talk) 05:00, 9 June 2012‎. Please sign your posts with


 * Yes, but I don't feel like supporting piracy. The solution is on the wiki, if you look around a bit. -- Orthotope 20:07, 10 June 2012 (UTC)

Where do I ask for a private server for me to play on?
In the last answer the person said you could have a private server made for you to play on. Who do I contact or where? –Preceding unsigned comment was added by 65.27.155.80 (Talk) 17:37, 10 June 2012‎. Please sign your posts with


 * There's a section for server hosting companies on the forum. -- Orthotope 20:07, 10 June 2012 (UTC)

Linux: nogui switch unnecessary
I don't see why this guide should instruct usage of the nogui switch by default on Linux when it's not mentioned on Windows or Mac OS X instructions. The GUI is fully functional on Linux.

I believe the official website mentions the nogui option because the "Other OS / without GUI" portion has the commands for these scenarios merged into one (i.e. the editor of the website [Notch!?] was too lazy to write a command with the nogui option and one without). 88.195.1.229 17:51, 19 June 2012 (UTC)

giving ops creative ability on survival
how do i make it so that i can create the world how i want it before i let other people get on, as in build city's and other things, without having to go collect all the resources –Preceding unsigned comment was added by 69.47.239.3 (Talk) 03:05, 27 June 2012. Please sign your posts with


 * Use the 'gamemode' command. -- Orthotope 04:30, 27 June 2012 (UTC)