1) Mineserve isn't running at all.
2) Your ISP is blocking the port.
3) IPTables (linux firewall) is blocking on port 4444.
4) Router is not setuped properly to forward to port 4444.
1) Use a tool like htop (commandline gui) or webmin (Web admin panel) to check if mineserve is running (if minecraft is down and you dont have/want htop or webmin, you can try "killall java" which will kill everything that uses java to execute (Minecraft/mineserve/etc) if it is runnning. If nothing is running under java you will receive a message telling you that no java process was killed, otherwise it did something)
3) Check if iptables is running, and if it is check if it has a line to allow TCP communication on port 4444 (I actually never used iptables so i can't confirm if the following line is good or not
iptables -I INPUT -p tcp --dport 4444 -j ACCEPT
then you need to save the iptables rule by running something like iptables save (you can do man iptables to get more information on the firewall)
4) Check if all your routers are forwarding port 4444 to the appropriate IP
1) Mineserve isn't running at all.
2) Your ISP is blocking the port.
3) IPTables (linux firewall) is blocking on port 4444.
4) Router is not setuped properly to forward to port 4444.
1) Use a tool like htop (commandline gui) or webmin (Web admin panel) to check if mineserve is running (if minecraft is down and you dont have/want htop or webmin, you can try "killall java" which will kill everything that uses java to execute (Minecraft/mineserve/etc) if it is runnning. If nothing is running under java you will receive a message telling you that no java process was killed, otherwise it did something)
3) Check if iptables is running, and if it is check if it has a line to allow TCP communication on port 4444 (I actually never used iptables so i can't confirm if the following line is good or not
iptables -I INPUT -p tcp --dport 4444 -j ACCEPT
then you need to save the iptables rule by running something like iptables save (you can do man iptables to get more information on the firewall)
4) Check if all your routers are forwarding port 4444 to the appropriate IP
/* Mad2k6 */
ISP isn't blocking 4444.
Forwarding is all set up correctly, tool you recommended showed no errors. I'm on Windows btw.
Humm..... it has to be network issue if mineserve is running since it is only a basic TCP communication. What you can try if the mineserve is local, is to connect with your phone on WiFi and access the IP Directly (something lik 192.168.0.1). Also you won't be able to access the server if it is local using your external IP most of the time. Only some specific cases are shown to work with external address. If that works retry disconnecting your wifi (so you are using external address) and retry connecting to server. This will isolate the network issue.
New information regarding running mineserve_server on windows x64
(information taken from the wiki page)
Wiki update on nov. 25th
Note: if you run the x64 version of windows you will need to modify the batch file to use the full path to java, This also applies to the minecraft server script where you need to change the "java" with its full path. This second part only applies if you use something like Hey0's mod where you need to run a jar file instead of an executable like on windows.
The paths shown above are from my computer, it might be different for yours depending on your installation.
I hope this helps to solve some issues. (The cause is that java didn't put itself in the path variable of windows, thus cmd didn't recognise java as a valid command/executable file).
Until we can get a new minecraft server update or change the status poll in mineserve, we ask people to stop using minserve as it will keep crashing the server when it polls for the server status.
Unfortunatly there isn't any other distribution method for it at this time. Also which version of android are you using? i know it is on android 2.0, 2.1 and 2.2 market.
As a follow-up to the issue regarding the server not cleanly exiting and thus not saving any settings, I think I may have found a solution in getting the server to manually save, stop itself, then run your 'for pid in' kill command to cleanup the process if it got left behind. For example, let's take the current 'stop' case in your minecraft script:
'stop')
for pid in `ps -Ao pid,command | grep java | grep mineserve_server | sed "s/^[ ]*//" | cut -d\ -f1` ; do kill -s KILL $pid ; done
;;
Again, not sure what the .jar file is doing, on the Mineserve end of things, so I don't know if this would be technically feasible from the standpoint of the actual Mineserve server itself, but looking at the scripting portion, it's definitely 100% doable, as it's working just fine on my computer (For now I've disabled Mineserve and am using solely SSH to communicate with the Minecraft Server from my phone, so this is untested with Mineserve.) Assuming Mineserve doesn't have any problems with the additions to the script, from here it'd be trivial to add some handling in there to list active players, parse the list, kick them one by one, then run the current save-all and stop commands.
Here's the full text of what I currently have going on in my minecraft startup script. In addition to the screen commands, I've added a new command option called 'view', that is basically just a shortcut to 'screen -dr minecraft'. It saves a few keystrokes and saves me from having to think about some other command (screen) when all I really want to do is get to my minecraft server.
I've also removed it from /etc/init.d, as I didn't really like the idea of it running as root. It's currently in my ~/bin folder and I just have the machine run the script when I log in. As a result, I've had to put a little extra checking, to see if there's already an active server, but aside from that, the above screen commands, and the new 'view' case, it's your Minecraft server script.
Wow this is what i was looking for lol.... ill try it out later. Oh and mineserve only runs the script with one of the parameters (start / stop / restart) This was the simplest way i found to be able to be compatible with the regular mc server and hmod
As a follow-up to the issue regarding the server not cleanly exiting and thus not saving any settings, I think I may have found a solution in getting the server to manually save, stop itself, then run your 'for pid in' kill command to cleanup the process if it got left behind. For example, let's take the current 'stop' case in your minecraft script:
'stop')
for pid in `ps -Ao pid,command | grep java | grep mineserve_server | sed "s/^[ ]*//" | cut -d\ -f1` ; do kill -s KILL $pid ; done
;;
Again, not sure what the .jar file is doing, on the Mineserve end of things, so I don't know if this would be technically feasible from the standpoint of the actual Mineserve server itself, but looking at the scripting portion, it's definitely 100% doable, as it's working just fine on my computer (For now I've disabled Mineserve and am using solely SSH to communicate with the Minecraft Server from my phone, so this is untested with Mineserve.) Assuming Mineserve doesn't have any problems with the additions to the script, from here it'd be trivial to add some handling in there to list active players, parse the list, kick them one by one, then run the current save-all and stop commands.
Here's the full text of what I currently have going on in my minecraft startup script. In addition to the screen commands, I've added a new command option called 'view', that is basically just a shortcut to 'screen -dr minecraft'. It saves a few keystrokes and saves me from having to think about some other command (screen) when all I really want to do is get to my minecraft server.
I've also removed it from /etc/init.d, as I didn't really like the idea of it running as root. It's currently in my ~/bin folder and I just have the machine run the script when I log in. As a result, I've had to put a little extra checking, to see if there's already an active server, but aside from that, the above screen commands, and the new 'view' case, it's your Minecraft server script.
We haven't had time to really study and look into how to use server commands using mineserver but looks like you've given us the answer to implementing them quickly! Mad definitely knew Screen would offer this ability but we just left it at that due to lack of time recently.
Thanks a million! We will most definitely try that out and get some basic commands working!
The Mineserve Jar is only a communication module to talk to the android app on the internet through a given tcp port. All commands use scripts to execute them since it's easy to customise for each user's personnal preferences (File paths and such).
I do think though for the actual Screen commands, they should be sent directly to Screen from the mineserve.jar
In any case I'm not that good with linux, Mad will have to figure that part out, I will simply make a GUI for the droid app to use the commands, probably a playerlist with simple player oriented commands such as kick, ban, tp. Then a whitelist/banlist editor and finally, a RCON window to chat/monitor or send custom commands! Version 2.0 of mineserve comming sometime early in 2011? Very possible! :smile.gif:
1) Mineserve isn't running at all.
2) Your ISP is blocking the port.
3) IPTables (linux firewall) is blocking on port 4444.
4) Router is not setuped properly to forward to port 4444.
1) Use a tool like htop (commandline gui) or webmin (Web admin panel) to check if mineserve is running (if minecraft is down and you dont have/want htop or webmin, you can try "killall java" which will kill everything that uses java to execute (Minecraft/mineserve/etc) if it is runnning. If nothing is running under java you will receive a message telling you that no java process was killed, otherwise it did something)
2) Check if your ISP is blocking port 4444 (use Gibson Research's Shields UP https://www.grc.com/x/ne.dll?bh0bkyd2 tool to probe the port)
3) Check if iptables is running, and if it is check if it has a line to allow TCP communication on port 4444 (I actually never used iptables so i can't confirm if the following line is good or not
iptables -I INPUT -p tcp --dport 4444 -j ACCEPT
then you need to save the iptables rule by running something like iptables save (you can do man iptables to get more information on the firewall)
4) Check if all your routers are forwarding port 4444 to the appropriate IP
/* Mad2k6 */
With this e-mail i can now answer more quickly to server problems.
/* Mad2k6 */
ISP isn't blocking 4444.
Forwarding is all set up correctly, tool you recommended showed no errors. I'm on Windows btw.
Donation Link for Styx City Official Server Minimum is $10 for donator status THANKS
Styx City Server TWITTER Follow for server status
/* Mad2k6 */
What do the logs say on the mineserve prompt when you run mineserve_server.bat?
(information taken from the wiki page)
Wiki update on nov. 25th
Note: if you run the x64 version of windows you will need to modify the batch file to use the full path to java, This also applies to the minecraft server script where you need to change the "java" with its full path. This second part only applies if you use something like Hey0's mod where you need to run a jar file instead of an executable like on windows.
ex: "c:\Program Files (x86)\Java\jre6\bin\java.exe" -jar mineserve_server.jar
ex2: "c:\Program Files (x86)\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar Minecraft_Mod.jar (for hey0's mod)
The paths shown above are from my computer, it might be different for yours depending on your installation.
I hope this helps to solve some issues. (The cause is that java didn't put itself in the path variable of windows, thus cmd didn't recognise java as a valid command/executable file).
/* Mad2k6 */
/* MaD2k6 */
This thing looks awesome. Unfortunatly I can't find the app on the market. Is there an alternative way of getting it?
/* MaD2k6 */
I've added a bit extra:
Again, not sure what the .jar file is doing, on the Mineserve end of things, so I don't know if this would be technically feasible from the standpoint of the actual Mineserve server itself, but looking at the scripting portion, it's definitely 100% doable, as it's working just fine on my computer (For now I've disabled Mineserve and am using solely SSH to communicate with the Minecraft Server from my phone, so this is untested with Mineserve.) Assuming Mineserve doesn't have any problems with the additions to the script, from here it'd be trivial to add some handling in there to list active players, parse the list, kick them one by one, then run the current save-all and stop commands.
Here's the full text of what I currently have going on in my minecraft startup script. In addition to the screen commands, I've added a new command option called 'view', that is basically just a shortcut to 'screen -dr minecraft'. It saves a few keystrokes and saves me from having to think about some other command (screen) when all I really want to do is get to my minecraft server.
I've also removed it from /etc/init.d, as I didn't really like the idea of it running as root. It's currently in my ~/bin folder and I just have the machine run the script when I log in. As a result, I've had to put a little extra checking, to see if there's already an active server, but aside from that, the above screen commands, and the new 'view' case, it's your Minecraft server script.
We haven't had time to really study and look into how to use server commands using mineserver but looks like you've given us the answer to implementing them quickly! Mad definitely knew Screen would offer this ability but we just left it at that due to lack of time recently.
Thanks a million! We will most definitely try that out and get some basic commands working!
The Mineserve Jar is only a communication module to talk to the android app on the internet through a given tcp port. All commands use scripts to execute them since it's easy to customise for each user's personnal preferences (File paths and such).
I do think though for the actual Screen commands, they should be sent directly to Screen from the mineserve.jar
In any case I'm not that good with linux, Mad will have to figure that part out, I will simply make a GUI for the droid app to use the commands, probably a playerlist with simple player oriented commands such as kick, ban, tp. Then a whitelist/banlist editor and finally, a RCON window to chat/monitor or send custom commands! Version 2.0 of mineserve comming sometime early in 2011? Very possible! :smile.gif: