When i try to run my server on the latest version of minecraft(when it worked before) the program will run for only a second then crash, when i run 1.7.9 or any other version it says failed to bind port, maybe the server is already running, i don't know if somethings going on in the background that i cant stop but other than that i dont have 2 servers running please help. If you need more info to try to solve it just ask me, i really have no idea.
I tried updated java, i dont get why my server just randomly stopped working
I also tried a different batch code which normally works with the server batch file
@ECHO OFF
"%ProgramFiles%\Java\jre8\bin\java.exe" -Xincgc -Xmx1G -jar minecraft_server.exe
PAUSE
However it says the same thing that the server says on other versions, failed to bind port, maybe the server is already running, which, again i'm not unless its running in the designated background where i can't get to it.
Well, the last piece of help that I can give is to try and remake the server. Delete everything but the world and download and extract a new server file and put the world in that to start fresh.
When it tells you that it failed to bind a port, some process is already accepting or sending packets via that port. Since 25565 isn't an overly used port, I'd have to assume that you're already running a server on that port. Go to your task manager, stop all Java processes and then try starting your server again.
Rollback Post to RevisionRollBack
I am an official representative of Fire Aspect, LLC.
High quality Minecraft hosting at affordable prices. Check out what Fire Aspect has to offer at http://www.fireaspect.com!
Use promo code "30OFFMCF" for 30% off your purchase!
I've tried running as admin yes
Everything is failing i've tried remaking the server several times...so, as well as trying to stop all java processes, nothing works,
And on 1.7.10 it doesent say failed to bind port it just shows up for a split second then crashes
I tried updated java, i dont get why my server just randomly stopped working
java -Xms(however much ram you want in MB)M -Xmx(same thing but in GB)G -jar minecraft_server.(version of the server).exe
and save as a .bat file and run that instead of the .exe file to start you server.
@ECHO OFF
"%ProgramFiles%\Java\jre8\bin\java.exe" -Xincgc -Xmx1G -jar minecraft_server.exe
PAUSE
However it says the same thing that the server says on other versions, failed to bind port, maybe the server is already running, which, again i'm not unless its running in the designated background where i can't get to it.
Everything is failing i've tried remaking the server several times...so, as well as trying to stop all java processes, nothing works,
And on 1.7.10 it doesent say failed to bind port it just shows up for a split second then crashes
Any other version it says failed to bind port
The exception was: {0}
Does that say anything
and when the ipv4 address on my computer is entered in the server ip slot it runs but i have no idea if anybody can join