Command
clientport
<Port ID>Explore usage, syntax, and examples for the clientport CS2 developer console command.
clientport
CS2 and CSGOclientport
<Port ID>Use this command to connect directly to a server by specifying its port. It’s helpful in LAN setups where multiple PCs share the same IP address.
Enter the server port number you want to connect to.
No
Client
Server
0
clientport Generator
clientport
<Port ID>Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.
clientport Examples
clientport
27005
Help connect directly to a server using its port.