HOSTIP
CS2 CS:GO
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
hostip [IP] [hostip 0.0.0.0] [hostip localhost]
Arguments
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). |
Related commands
host_filtered_time_report
This command only works on dedicated servers. It will time the amount of time that was spent idle in the previous frame (ms).
This command only works on dedicated servers. It will time the amount of time that was spent idle in the previous frame (ms).
host_flush_threshold
This command will set the memory theshold for the which host should flush caches between server instances. When below this value, the caches will be flushed.
This command will set the memory theshold for the which host should flush caches between server instances. When below this value, the caches will be flushed.
host_framerate
This command will change the "frame rate" of the host (server). Lower numbers will mean time passes faster, higher numbers will mean time passes slower. Set to 0 to disable.
This command will change the "frame rate" of the host (server). Lower numbers will mean time passes faster, higher numbers will mean time passes slower. Set to 0 to disable.
host_info_show
This command can be used to change the amount of information that is shown when your server is queried (e.g. by server lists, the community server browser, etc). See argument information for options. 1 is the default setting for this command.
This command can be used to change the amount of information that is shown when your server is queried (e.g. by server lists, the community server browser, etc). See argument information for options. 1 is the default setting for this command.
host_map
This command will print to console the name of the map you are currently playing on. This can also be used to change the "host_map" that appears in server queries if you provide a map name as an argument.
This command will print to console the name of the map you are currently playing on. This can also be used to change the "host_map" that appears in server queries if you provide a map name as an argument.
host_name_store
This command will set whether or not the server's hostname is recorded in game events and on GOTV (demos and live).
This command will set whether or not the server's hostname is recorded in game events and on GOTV (demos and live).
host_players_show
This command will set how the playercount is disclosed when your server is queried. See argument information for options.
This command will set how the playercount is disclosed when your server is queried. See argument information for options.
host_reset_config
This command will reset your host's config. NOTE: You cannot undo the effect of this command, so make sure to save your host's config before using this.
This command will reset your host's config. NOTE: You cannot undo the effect of this command, so make sure to save your host's config before using this.