Skip to content
/SLASHPLAY

How to join a server by IP in CS2

Type connect 203.0.113.10:27015 in your game console to join that server directly. You can leave off the port if it is 27015.

connect

Joins a game server directly by its IP address and port.

connect <ip[:port]>

Examples

connect 203.0.113.10:27015

Join a server by IP and port.

password "secret"; connect 203.0.113.10:27015

Join a password-protected server.

Arguments

addressRequired
Server IP or host name, with :port if it is not 27015.

What it does

Joins a server directly without the server browser. If the server has a password, set it with password first in the same line. The default CS2 port is 27015, so you can leave it off for servers on that port.

The game's own description: Connect to a remote server.

Good to know

  • Requires the developer console to be enabled in the game settings.

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 game/csgo/cfg/server.cfg. New to this? Start a CS2 server first.

Your own
CS2 server.

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