Forge Server Won't Start? Here's How to Fix It
You hit start on your Forge server, the console spits out a wall of text, and then it just... stops. Or it closes instantly. Or it hangs forever and never says "Done." A modded server that won't boot is one of the most frustrating things in Minecraft, but the fix is almost always one of a handful of causes - and the console log tells you which. Here is how to read it and fix each.
First rule: read the top of the log, not the bottom
When a server crashes, the console prints a huge stack trace and everyone reads the very last line. But the actual cause is usually the first error message, near the top. Scroll up to where things first went wrong and look for a readable line like "Missing or unsupported mandatory dependencies," "OutOfMemoryError," or "You need to agree to the EULA." That line points straight at the fix.
Cause 1 - Not enough RAM
Modded servers are hungry. If the server runs out of memory while loading, you will see java.lang.OutOfMemoryError or the server will just die partway through startup with no clean error.
Fix: give it more memory. A 200+ mod pack often needs 6-8 GB or more. See how much RAM a Minecraft server needs and how to give your server more RAM. If you are on a host, this is usually a plan/slider setting.
Cause 2 - Wrong Java version
Forge is very picky about Java. Old packs (1.7-1.12) need Java 8; 1.18-1.20 need Java 17; 1.20.5+ and 1.21 need Java 21. Run the wrong one and the server refuses to load, often with an "unsupported class version" or a cryptic instant crash.
Fix: match Java to your Minecraft version - see our full breakdown in which Java version your server needs. On FreaksMC this is handled automatically, so a version mismatch is one problem you do not have to think about.
Cause 3 - EULA not accepted
If you see "You need to agree to the EULA in order to run the server", the server stopped on purpose. Minecraft requires you to accept Mojang's End User License Agreement once.
Fix: open eula.txt in your files and change eula=false to eula=true, then start again. (On a host panel this is often a one-click button on first launch.)
Cause 4 - Missing or mismatched mod dependency
This is the most common modded-server killer. You will see "Missing or unsupported mandatory dependencies" followed by a list - one mod needs another mod (or a specific version) that is not there.
Fix: the error names exactly what is missing. Either add the required dependency mod or update/downgrade to the version it wants. This also happens when you mix mods built for different Minecraft versions, or update one mod in a family but not the others - see our note on that in the MineColonies crash guide. Always get mods from the same source and match versions; how to install mods covers the basics.
Cause 5 - A corrupt config, world, or single bad mod
Sometimes one mod's config file is broken, or a mod crashes the moment it loads. The log will point at a specific mod's package name right before the crash.
Fix: if the trace names one mod repeatedly, try removing that single mod (and its config file in the config folder) and starting again. If the server started fine before and broke after you added one thing, remove that one thing first. Back up your world before experimenting.
Cause 6 - Port already in use
If you see "Failed to bind to port" or "address already in use," another server (or a leftover crashed process) is still holding the port.
Fix: stop any other server on that port, or restart the machine/container. On a host, a full restart of the server clears a stuck process.
Still stuck? Send us the log
The first error in your log names the cause almost every time - but modded logs are dense. On a FreaksMC server, open your Console or the crash-reports / logs folder and email the log to [email protected]. We run big modded packs daily, and we will read the trace, tell you the exact cause, and fix the server-side ones for you.
Common questions
Where do I find the real error? Near the top of the console output at the first "ERROR" or "Caused by" line, not the last line. That is usually the true cause.
My server closes instantly with no error - why? Almost always the wrong Java version or not enough RAM assigned. Check those two first.
What does "exit code 1" mean? Just that the server stopped with an error - it is not the cause itself. Scroll up in the log to find the actual message above it.
It worked yesterday and won't start today - what changed? Something you added or updated. Remove the most recent change (a new mod, a config edit) and try again; back up your world first.
Want a server that just runs fast?
FreaksMC runs on NVMe hardware with performance-tuned defaults baked in - pre-optimized Paper, sane view distances, and one-click world pre-generation. Set up in 60 seconds.
See plans from $3/mo