CS2 & CS:GO hostport Command

CS:GO & CS2 Compatible
hostport <Port>

The port your server should run on. We recommend you keep this as default. You can run multiple servers on the same IP address if you change this port to a port that isn't in use.

Argument Information

The syntax for this command is as follows:
Name Description
Port

The port for the server to run on. We recommend you leave this as default: 27015.

Extra Information

Find additional information relating to this command below.
sv_cheats Required
No
Client or Server Command
Both
Default Value
27015
Total CS is the home of CS2 commands We boast the only complete, up-to-date database of all CS2 console commands. View All CS2 Commands
CS2 player
Ad

Command Generator

Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in CS:GO.

hostport 0
1/1 arguments filled
Port