Skip to content
/SLASHPLAY

clientport

Local UDP port the client side of the engine uses. It plays no role on a dedicated server.

clientport <port>

Examples

clientport 27005

The default value.

Arguments

portRequired
UDP port number.

What it does

Sets the UDP port the game client part of the engine binds to, 27005 by default. A dedicated server has no local client, so changing it has no effect on the server or on how players reach it. The port players connect to is set with port or hostport.

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 cstrike/server.cfg. New to this? Start a CS 1.6 server first.

Your own
CS 1.6 server.

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