Skip to content
/SLASHPLAY

How to change the server port in Day of Defeat: Source

On SLASHPLAY you don't: the platform sets the port and your address already includes it. Type hostport in the Console tab to print it.

hostport

The port the game server listens on. 27015 by default.

hostport

Examples

hostport

Prints the port.

What it does

It is set when the server starts and can't be moved on a running server.

Good to know

  • SLASHPLAY sets the ports. Changing them here stops players from connecting.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to dod/cfg/server.cfg. New to this? Start a DoD:S server first.

Your own
DoD:S server.

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