hostip Command


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.

Arguments


Arguments are parameters that you add to a command. Find information about this command's arguments below.

IPYour desired IP for the server to bind to.
hostip 0.0.0.0This command sets the host's IP to 0.0.0.0, meaning the server will bind to all available IP addresses.
hostip localhostThis command would set the host's IP to locahost, meaning only local connections would be allowed (connections from your PC).

Extra Info

Sv_cheats Required? No
Client or Server Command? Both
Default Value -1062731392