Skip to content
/SLASHPLAY

How to change the port of a Necesse server

Set port = <port> in server.cfg, or start the server with -port <port>; the default is 14159. On SLASHPLAY the port is set for you and is in the address.

port

The UDP port the server hosts on. The default is 14159.

port = <port>

Examples

port = 14159

The default.

Arguments

portRequired
Port number, from 0 to 65535.

What it does

Players connect to this port, so it's the one to forward on a home router.

Good to know

  • SLASHPLAY sets the ports. Changing them here stops players from connecting.
  • SLASHPLAY starts the server with -port, which wins over this line.

Run it on your server

The Console tab can't send commands to Necesse: players type them in game chat with a leading slash, at their permission level (add -owner to the start line in .slashplay/boot.sh to become owner). Settings go in cfg/server.cfg in the Files tab and apply at the next restart. New to this? Start a Necesse server first.

Your own
Necesse server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.