Command
hostport
<Port>Explore usage, syntax, and examples for the hostport CS2 developer console command.
hostport
CS2 and CSGOhostport
<Port>Sets the port number your server will use. Keep the default port unless you need to run multiple servers on the same IP, then choose a different unused port.
Specify the port number for the server. Default is 27015, which is recommended.
No
Client
Server
27015
hostport Generator
hostport
<Port>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.