clientport Command

clientport [Port ID]

This is a command used to connect to a server directly, and can be useful in a LAN environment when multiple computers are operating from the same IP.


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

Port IDThe ID of the server you're connecting to.

Extra Info

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

clientport Examples

Find below working examples of this command (copy and paste into console).

clientport 27005

Assists in connecting to a server.