How do I port forward correctly?
Hey guys I bought a VPS running CentOs 6.2 and I'm trying to set up a minecraft server which uses port 25565 How do I do that?
Also I get this when I start up my sever http://pastebin.com/g05K13NF Thanks all! I hope to see you all soon and hopefully I'll be able to help people :) BMX |
Hi,
it looks like it may be problem with your java installation. Are you using a "recommended" java version. I've had success with openjdk 6. See: http://www.linuxquestions.org/questi...ml#post4737294 I also notice that the jar file you are using does not appear to be the standard minecraft_server.jar Finally, one other thing is that you shouldn't really be doing this as root. Evo2. |
Hi,
I just realised that the output you posted suggests that there may already be something attached to that port. Can you confirm that no other mincraft instance (or anything else) is running on port 25565? Ie is there any output from the following command? Code:
lsof -i :25565 |
Quote:
I'll check that out It's a craftbukkit jar (Server mod) I couldn't figure out how to give my "minecraft" user the correct permissions Thanks for the reply! BMX |
Quote:
|
Bump, I need help badly :( Sorry if bumping is against the rules I haven't taken a look at those yet
~BMX |
Hi,
to help you we need information. For example, what java version are you using? Eg output of Code:
readlink -f $(which java) Does a standard minecraft sever work? Regarding running as root: what permissions problems did you have running as a non-root user? Ie what did you actually do, and what errors were reported. Evo2. |
Quote:
I used that video, it installed java with it, the readlink didn't work I installed it through the commandline Haven't tried, I purchased the VPS 2 days ago :/ It didn't have permissions to execute an install.sh file Thanks! BMX |
Hi,
Quote:
Quote:
Quote:
Quote:
Quote:
To try to isolate the problem I think you should start by trying to run the standard minecraft server. Eg. run the following commands to download, and then run it. Code:
wget https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar Evo2. PS. I can't stress enough how important it is to post the exact commands you run and the error messages reported, preferably cut and pasted from the terminal. |
Quote:
Quote:
Thanks, BMX |
Results
Code:
2012-09-04 22:09:26 [INFO] Starting Minecraft server on *:25565 |
Hi,
I'm assuming the output you posted is from the standard minecraft_sever.jar. If so, this really does look like a java problem, not a problem with the server app itself. I note that you are running this on CentOS 6.2, so I just tried it on an SL 6.2 machine and had no problems. Here is the output for my session: Code:
% readlink -f $(which java) Evo2. |
Quote:
I tried the readlink command and got no feedback Thanks! BMX |
HI,
Quote:
Quote:
Code:
which java |
Quote:
Thanks! Code:
login as: root don't worry about the ping I was just playing :P |
All times are GMT -5. The time now is 02:53 PM. |