Sign up ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I can't seem to find a up todate and clear answer on this. I just want to run the minecraft server jar on a different port from the default 25565

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You can change the port in the You can find this file in the same directory as your server.jar is in. Edit this file like this: server-port=<new-port> (e.g. server-port=1337 to run the server on port 1337).

You can find a detailed documentation about the and the affected property here:

If you really want to change the port from cli you can use Bukkit and pass an argument -p=<new-port> to launch the server on a different port. It also overrides the server-port-property in the (Source: CraftBukkit Source Code) Example: java -jar bukkit.jar -p=1337.

Hope it helps. :)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.