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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.