Minecraft – Server not starting. “Cannot invoke ”aag.f()”

minecraft-java-editionminecraft-java-edition-server

enter image description here
That is the error message I get in the logs.

I've tried to reinstall java and redownload the server file without success.

Tried googling the problem, but only found one reddit thread which didn't give an answer.

Best Answer

I managed to find the Reddit thread, and it appears that the server could not start because the port was already in use.

Quit all other running Minecraft servers or change the port.

To change the port, open server.properties and replace port=oldport with port=newport.

When logging into the server change address to address:newport, or address:oldport to address:newport.

Related Topic