Posted August 16, 20214 yr My Forge 1.16.5 server was working well for many months, that was until now. I'm using a .bat file to run the server with 8G of memory and nothing seems out of the ordinary when the server is starting up. However, when the server's debug console appears I'm left with this: [Server thread/ERROR] [minecraft/MinecraftServer]: java.lang.IllegalStateException: No server set. Keep in mind that the server did not crash therefore there is no crash report. It gets close to running successfully however the Debug window is saying the tick speed is 0ms which isn't good. Debug Log: Server Debug Log 8/16/21 (github.com)
August 16, 20214 yr 9 minutes ago, KBomb said: Debug Log: Server Debug Log 8/16/21 (github.com) where, this is not a link?
August 16, 20214 yr Author https://gist.github.com/quevyn68plus1/cac8dd5e4380f60af35552aea49e0e38#file-gistfile1-txt try that one^
August 16, 20214 yr you already run a server (on the port 25565) close the existing server and try again
August 16, 20214 yr Author Are you asking me to shut down the server, then restart it? I hope not because I've tried that 5 times.
August 16, 20214 yr Author If something else is running on port 25565 I'm not sure what it is because my server should be the only thing using that port. However, shutting down and restarting didn't work.
August 16, 20214 yr Author Have a look at my server properties, lines 35 and 38. These are for the query.port and rcon.port. One says 25565 while the other says 25575. Shouldn't they both say 25565. https://gist.github.com/quevyn68plus1/e49ebf3db4d61c670f9615c5782a2f9f#file-gistfile1-txt
August 16, 20214 yr Author this is the command I use on my .bat file 1. java -Xms8G -Xmx8G -jar "C:\Users\kpbal\Desktop\MOdded MC\Forge 1.16.5 Server\forge-1.16.5-36.0.43.jar" 2. PAUSE
August 16, 20214 yr restart your system again and post the debug log again, if the server is still crash with the same error, something else is running on that port
August 18, 20214 yr Author Yeah still had the same issue even after messing with port settings. Interestingly enough, created a new server and copied the data from the old one and we're back in business. So... I'm not entirely sure what happened, like I said this was whole thing was very random and I technically didn't fix it. FOR ANYONE ELSE WHO HAVE THIS ISSUE IN THE FUTURE: I created a new server exactly how you would any other forge server. After you've gotten your new server to run without mods, make sure to copy and paste your "world" and "mods" folders into your new server. You could also copy "server.properties" if you actually care to mess with server properties. So there ya go... Solved?
March 2, 20223 yr It's been a while since this was posted, but I'm gonna chip in the things I learned when I got the same error. I had the same situation, where I had hosted a server daily for me and my friends, until one day when I ran the usual .bat file, I got the error. Here's how I fixed the problem: If you've port forwarded your server, check your IPv4 address. For some reason mine had changed from .2 to .3 during the night, and after changing the porting for Minecraft and server to the new IPv4 address, the server launched like usual. When you created the new server, it his highly possible why it started working again was because you used the new IP, so copying over the server.properties file would cause the same error to apear. Hopefully this helps other people who get this error in the future.
August 2, 20223 yr i had the same problem today after reading mirvis post i check the ip4 and it had rold over to the next number after changing the ip4 it work again
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.