Command Profile

HOSTIP

CS2 CS:GO

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.

Syntax
hostip [IP] [hostip 0.0.0.0] [hostip localhost]

Description

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.

Syntax And Arguments

hostip [IP] [hostip 0.0.0.0] [hostip localhost]
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).