# American Truck Simulator Server Ports (/docs/american-truck-simulator/ports-reference)



Required Ports [#required-ports]

| Port  | Default | Protocol  | Purpose                 |
| ----- | ------- | --------- | ----------------------- |
| Game  | 27015   | TCP + UDP | Player connections      |
| Query | 27016   | TCP + UDP | Session browser listing |

Both TCP **and** UDP must be forwarded for both ports.

Steam Relay (Virtual Ports) [#steam-relay-virtual-ports]

| Port                      | Default | Range   | Purpose                 |
| ------------------------- | ------- | ------- | ----------------------- |
| `connection_virtual_port` | 100     | 100–200 | Steam relay connections |
| `query_virtual_port`      | 101     | 100–200 | Steam relay queries     |

Virtual ports are handled by Steam and **do not need port forwarding**.

LAN Play [#lan-play]

For the server to appear in the LAN browser, `query_dedicated_port` must be in range **27015–27020**.

Multiple Server Instances [#multiple-server-instances]

Each instance needs unique port pairs (e.g., 27015/27016 for server 1, 27017/27018 for server 2).

> 📝 **Note:** On XGamingServer, ports are configured automatically.

Related Guides [#related-guides]

* [Server Configuration](/docs/american-truck-simulator/server-config)
* [How to Join Your Server](/docs/american-truck-simulator/join-server)
