Hi guys,
I have a slight issue I am running a webserver with Linux CentOS I have downloaded the minecraft_server.jar file to a root folder as the root user as you do. I have run it using this command....
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
Sure enough the server boots up and starts running....
Last night my friend could connect to it ( I couldn't test as I set it up from my phone on SSH). He managed to join the world and mess about. Great I thought so I stopped the server and closed off the SSH. Now today I ran that very same command as above and it started up but when I try and connect it won't let me? Just says's Cannot reach server.
Any clue as to why it would work last night but not today?
Like I say I'm running it off a webserver not a local host.
Nick
Cheers for the reply. The server can ping just find it sends and receives packets no problems. I've restarted the server, closed the running process on the server, deleted and re installed the jar file to run the server software including all its dependant files.
centOS 5 or 6?
CENTOS 5.9 x86_64 virtuozzo – web
That's what it's running mate.
openJDK 6 or openJDK 7
use this as your java launch command
java -Xmx768M -Xms256M -jar minecraft_server.jar nogui
then tell me if it launches
Sorry for the late reply, I just tried the above
java -Xmx768M -Xms256M -jar minecraft_server.jar nogui
Still no luck :(
do you get any errors?
No errors server side it fired up just fine.
how much ram do you have for your VPS
It's a shared vps maximum 12GB RAM but other VPN accounts run on the same server and we all share the 12GB.
it can be that others are taking the RAM needed so talk to who ever is the owner about getting a gig of ram for you
Cheers mate, trouble is without a dedicated server it's not possible to reserve ram. It's not important anyway just a bit of fun to see if it would work lol just thought it weird that my mate could connect one night then not at all.
nick
well it can also sound like that they blocked that port as well via the firewall to not be allowed to go though so that can also be the reason
Use the following to see if your Firewall is blocking it. This method is a test method and you should only disable specific areas, not the whole thing. But for time purposes, just try this. Task: Disable / Turn off Linux Firewall (Red hat/CentOS/Fedora Core)
Type the following two commands (you must login as the root user):# /etc/init.d/iptables save
# /etc/init.d/iptables stop
Turn off firewall on boot:# chkconfig iptables off
Type the following command to turn on iptables firewall:# /etc/init.d/iptables start
Turn on firewall on boot:# chkconfig iptables on
If that does not work, try running Craftbukkit servers.
I use MineOS on linux and it works fine. Especially for vanilla. It has easy server run options and shows you different things to enable. It does not take up much space on the hardrive either. It also has a runtekkit option if your into that well as bukkit and vanilla.
I hope this helped.
I strongly recommend it.
mineOS is just Ubuntu with minecraft depencies added ontop of it so really any Linux os will just do just as long as you have OpenJDK 6 or OpenJDK7 installed and you have ROOT access to open port 25565 with iptables
WoM Coins: 1405
open cmd on your windows run bar and do ping 184.72.166.136 and see if you can have a active connection to your VPS server but if you dont, then talk to the VPS hosting support team as they can help fix the problem