keepcalculator

06 Numbers and Powers

How to Host an American Truck Simulator Server

Card No. 06·72565 · Updated · Standard formula, shown below

Hosting a dedicated server for American Truck Simulator (ATS) lets you and your friends drive together in a persistent world, even when you’re offline. You’ll set up a separate server application on a PC (or a spare machine) that acts as the host, then connect to it from the game. This guide walks you through the entire process, from downloading the right tools to connecting your first convoy.

What You’ll Need

  • A copy of American Truck Simulator on Steam (the server uses the same game files).
  • A Windows PC (the server runs on Windows; Linux is not officially supported for the dedicated server).
  • Steam account with ATS owned (the server must be launched through Steam).
  • Stable internet connection with decent upload speed (at least 5 Mbps recommended).
  • Port forwarding access to your router (to allow friends to connect).

Step-by-Step

  1. Install the Dedicated Server via Steam: Open Steam, go to your Library, and change the filter from “Games” to “Tools”. Find “American Truck Simulator Dedicated Server” and click Install. It will download the server files (about 2 GB).
  2. First Launch and Configuration: After installation, launch the dedicated server from your Steam Library (Tools section). A console window will open, and a configuration file will be generated in Documents\American Truck Simulator Dedicated Server\config.cfg. Close the console for now.
  3. Edit the Config File: Open config.cfg with Notepad. Set the following values:
    • server_name – a name for your server.
    • server_password – optional, but recommended to keep randoms out.
    • server_max_players – set to 8 (the maximum).
    • server_lobby_players – number of players before the server starts (e.g., 1).
    • server_port – keep default 27015.
    • server_query_port – keep default 27016.
    • server_save_format – choose 2 for binary saves (faster).
  4. Set a Save Game: The server needs a save file. Easiest way: create a new profile in the single-player game, drive a few meters, and save. The server will use that save if you copy it to the server’s save folder. For a fresh start, you can let the server generate a default map by leaving the save path empty, but it’s better to use your own.
  5. Place the Save File: Go to Documents\American Truck Simulator\profiles and copy your profile folder (it’s a long alphanumeric name). Paste it into Documents\American Truck Simulator Dedicated Server\save. Rename it to something simple like server_save.
  6. Update Config with Save Path: In config.cfg, set server_save_path to the full path of that folder, e.g., C:\Users\YourName\Documents\American Truck Simulator Dedicated Server\save\server_save.
  7. Launch the Server: Run the dedicated server again from Steam. It will load the map and show “Server started” in the console. Leave this window open.
  8. Port Forward: Log into your router’s admin page (usually 192.168.1.1 or 192.168.0.1). Find Port Forwarding and forward TCP and UDP ports 27015 and 27016 to your PC’s local IP address (e.g., 192.168.1.50). Save and apply.
  9. Find Your Public IP: Go to a site like whatismyip.com and note your public IP. Share this with friends, along with the server password.
  10. Connect from the Game: In ATS, go to Multiplayer → Convoy. Click “Join” and enter the IP address and port (if not default). Enter the password if set. You should see your server and join.

Common Mistakes

  • Not running the server as a separate Steam tool – you must install the dedicated server tool, not just the game.
  • Forgetting to forward both TCP and UDP on both ports.
  • Using the wrong save path – the server won’t start if the path is incorrect.
  • Not closing the server console before editing config – changes won’t apply until restart.
  • Sharing your IP but not opening the right ports – friends will get connection timeouts.

Tips

  • Use a static IP for your PC in your router settings to avoid IP changes.
  • Set a strong password to avoid random players joining and causing chaos.
  • Keep the server console visible; it shows connection logs and errors.
  • If you plan to run the server 24/7, consider a dedicated machine or a VPS, but note that the server uses SteamCMD on Windows only.
  • Update the server regularly – Steam will auto-update the tool when you launch it.

Troubleshooting

  • Server won’t start: Check the console for error messages. Most likely the save path is wrong. Double-check the folder name and that the save exists.
  • Friends can’t connect: Verify port forwarding is correct. Test by trying to connect using your local IP from the same PC; if that works, the issue is external. Also, check Windows Firewall – allow the server executable through.
  • Game shows “No servers found”: Make sure the server is fully started (console says “Server started”). Also, try connecting via IP directly instead of the server list.
  • Lag or disconnects: Check your upload speed. If it’s low, reduce max players. Also, ensure no other heavy downloads are running.
  • Server crashes after a while: Check the console for error logs. It could be a mod conflict – disable mods on the server if you have any.

Frequently Asked Questions

Can I run the server on a Mac or Linux?

No, the dedicated server tool is only available for Windows. You can run a Windows VM on Linux, but it’s not officially supported.

Do all players need the same DLC?

Yes, if you use DLC map expansions (like Texas or Montana), all players must own them. The server will load the map based on the host’s DLCs.

Can I use mods on the server?

Yes, but all players must have the same mods installed. The server will not automatically download mods.

How many players can join?

The maximum is 8 players, including the host (if the host also plays).

Can I run the server on the same PC I play on?

Yes, but it will use extra CPU and RAM. It’s fine for small groups, but for 8 players, a separate machine is better.

Do I need to keep Steam open?

Yes, the server runs through Steam, so Steam must be running in the background.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →