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)

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.

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)

---

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)

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)

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)

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)

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)

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)

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

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?

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?

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!