1
I need help with binding the port
ok, so i am running my server off of a friends dedicated server. IMPORTANT- My server is the only server that is running on the server. And i dont have root access.
I use putty to connect, and have the screens all set up. I have had the problem before and it was simply a detached screen using the port. However i have no screens running and i still have the problem that it wont bind.
Error message:
210 recipes
27 achievements
09:38:08 [INFO] Starting minecraft server version 1.4.7
09:38:09 [INFO] Loading properties
09:38:09 [INFO] Default game type: SURVIVAL
09:38:09 [INFO] Generating keypair
09:38:09 [INFO] Starting Minecraft server on 199.241.184.158:25565
09:38:09 [WARNING] **** FAILED TO BIND TO PORT!
09:38:09 [WARNING] The exception was: java.net.BindException: Address already in use
09:38:09 [WARNING] Perhaps a server is already running on that port?
>
I have read abit about how a java thread could still be active, but i know nothing about this. StackOverFlow.com says you can list the threads by doing "top" which gives me:
PID User PR NI VIRT RES SHR S %CPU %mem Time+ Command
30638 barry 18 0 10.2g 2.9g 12m S 363.5 12.5 267:07.61 java
This is the only constant thread being used by my account, when i do kill it asks for a signal, to be precies:
Kill PID 30638 with signal [15]:
Please help
I use putty to connect, and have the screens all set up. I have had the problem before and it was simply a detached screen using the port. However i have no screens running and i still have the problem that it wont bind.
Error message:
210 recipes
27 achievements
09:38:08 [INFO] Starting minecraft server version 1.4.7
09:38:09 [INFO] Loading properties
09:38:09 [INFO] Default game type: SURVIVAL
09:38:09 [INFO] Generating keypair
09:38:09 [INFO] Starting Minecraft server on 199.241.184.158:25565
09:38:09 [WARNING] **** FAILED TO BIND TO PORT!
09:38:09 [WARNING] The exception was: java.net.BindException: Address already in use
09:38:09 [WARNING] Perhaps a server is already running on that port?
>
I have read abit about how a java thread could still be active, but i know nothing about this. StackOverFlow.com says you can list the threads by doing "top" which gives me:
PID User PR NI VIRT RES SHR S %CPU %mem Time+ Command
30638 barry 18 0 10.2g 2.9g 12m S 363.5 12.5 267:07.61 java
This is the only constant thread being used by my account, when i do kill it asks for a signal, to be precies:
Kill PID 30638 with signal [15]:
Please help
1
Ok i fixed the problem, the signal was 9, and the fault was caused by the java thread not being closed
