Skip to content
/SLASHPLAY

ip_hostport

Overrides hostport and port as the server's UDP port when above 0.

ip_hostport <port>

Examples

ip_hostport 27020

Typed on the launch line as +ip_hostport 27020.

Arguments

portRequired
UDP port number. 0 means use hostport or port.

What it does

When set above 0, the server binds to this UDP port, ahead of both hostport and port. Like the other port settings it must be set on the launch line, since the socket is opened once at startup.

Good to know

  • Most setups only need port.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to cstrike/server.cfg. New to this? Start a CS 1.6 server first.

Your own
CS 1.6 server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.