Player ports & connection
Understand port 27015, Steam Server Account (GSLT) and player connection.
Ready to start your service? Check offers and order online.
View offers and orderServer port
Garry's Mod uses the port 27015 (UDP) by default. Your players connect with:
connect ip:27015in the console (touch~)- Or via the Server Browser Favorites
Steam Server Account (GSLT)
A Game Server Login Token is recommended for public visibility:
- Generate a token on
steamcommunity.com/dev/managegameservers(App ID 4000) - Add
+sv_setsteamaccount <token>start-up parameters - Restart the server
Useful settings
maxplayers: number of slots (depending on your offer)sv_password: access password (private server)hostname: name displayed in the list
Troubleshooting
Invisible server in the list: check the GSLT and hostname. Locked players: check the port and maxplayers.