CS2 & CS:GO hostip Command

CS:GO & CS2 Compatible
hostip <IP> <hostip 0.0.0.0> <hostip localhost>

This command can be used to assign the server an IP to run on. If not, the IP 0.0.0.0 (bind to all available) will be used.

Argument Information

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

Your desired IP for the server to bind to.

hostip 0.0.0.0

This command sets the host's IP to 0.0.0.0, meaning the server will bind to all available IP addresses.

hostip localhost

This command would set the host's IP to locahost, meaning only local connections would be allowed (connections from your PC).

Extra Information

Find additional information relating to this command below.
sv_cheats Required
No
Client or Server Command
Both
Default Value
0
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.

hostip <IP> <hostip 0.0.0.0> <hostip localhost>
0/3 arguments filled
IP
hostip 0.0.0.0
hostip localhost