Connecting to Your Garry's Mod Server

Players join your Garry's Mod server by typing its address and port into the game's console. It's one line, and it's the same line for everyone you invite.
Find your address and port
Open your control panel and look at the Overview page. Under Server Information you'll see Server Address, and it looks like this:

yourname.mchosts.co:21047
The number after the colon is your server's port. Every server here gets its own number so they can all share one address. Click the line to copy it.
Join from the console
To join a server by its address, Garry's Mod uses its developer console, a box that opens over the game.
- Start Garry's Mod and wait for the main menu
- Press the
~key to open the console. On most keyboards it's just under Esc - Type
connectand a space, paste your Server Address after it, port included, and press Enter
The whole line looks like this:
connect yourname.mchosts.co:21047
The first time somebody joins, their game downloads your server's addons and map from the Steam Workshop before they're in. With a big collection on your server, that first download takes a while.
Your server in Steam's list
Your server is also in Steam's list of Garry's Mod servers, on its own port, under the name on your Config tab. The game's server browser can't search for a name, though, so for friends the console is the quicker way in.
A Steam server token moves your server up that list. It's optional, and Garry's Mod Server Settings and Addons explains how to make one.
Sharing with friends
Send them your Server Address, and the join password if you've set one. Anyone who owns Garry's Mod can join.
The password is on the Config tab, in the Server section, as Join password. New servers don't have one.
Players don't need to install your addons first. The game downloads them from Steam as they join.
If you can't connect
Your server may be off. On the Overview page, look for the Online badge. If it's offline, click Start Server. The very first start downloads Garry's Mod, about 7GB, so it takes longer than the ones after it.
It may still be loading. The Console tab shows VAC secure mode is activated. once players can get in. If you've just set a big collection, the next start downloads every addon in it before it gets to that line.
Check the address. The console wants the whole Server Address after connect, port and all. Without the port, or with a different one, the game can't find your server.
Check the password. It's on the Config tab, and it has to match exactly.
Check your Steam token. If you've added a Steam server token and Steam won't accept it, your server stops and the panel says Steam refused your server token. Clear the Server token box on the Config tab and start your server, or make a new token and paste that in.
Still stuck? Open a support ticket and tell us what the game said when it failed.
Next: Garry's Mod Server Settings and Addons




