hostport Command


hostport [Port] [hostport 27015] [hostport 26123]

The port your server should run on. We recommend you keep this as default. You can run multiple servers on the same IP address if you change this port to a port that isn't in use.

Arguments


Arguments are parameters that you add to a command. Find information about this command's arguments below.

PortThe port for the server to run on. We recommend you leave this as default: 27015.
hostport 27015This command would set your server's port to 27015 (default, recommended).
hostport 26123This command would set your server's port to 26123, if it is not currently in use.

Extra Info

Sv_cheats Required? No
Client or Server Command? Both
Default Value 27015