Holdfast Server Ports and Firewall
Holdfast dedicated servers use UDP ports for game traffic and Steam server browser queries. Understanding these ports is essential for self-hosted servers and helpful for troubleshooting connection issues on any host.
This guide is based on the official Holdfast server hosting documentation.
Default Ports
Section titled “Default Ports”| Setting | Purpose | Default |
|---|---|---|
server_port |
Game traffic (UDP) | 20100 |
steam_query_port |
Steam server browser queries, player count, map, etc. (UDP) | 27000 |
Both ports must be unique for each server instance if you run multiple Holdfast servers on the same machine.
Example config:
server_port 20100steam_query_port 27000AleForge Hosted Servers
Section titled “AleForge Hosted Servers”AleForge handles network configuration, port assignment, and firewall rules for your Holdfast server. You do not need to configure port forwarding or open ports manually.
To find your assigned ports:
- Open the Blacksmith’s Portal
- Select your Holdfast server
- Check the sidebar for your IP and game port
- Review your config file in
holdfastnaw-dedicated/configsforserver_portandsteam_query_portvalues
If your server isn’t appearing in the browser, verify the server has fully started in Console and that your steam_query_port is set correctly in your config.
Self-Hosted: Port Forwarding and Firewall
Section titled “Self-Hosted: Port Forwarding and Firewall”To allow players outside your local network to connect, you must:
- Open UDP ports
server_portandsteam_query_portin your local firewall - Configure port forwarding on your router for both UDP ports to your server machine’s local IP
Without port forwarding, only players on your local network can connect (using Localhost via Join Custom Server).
Windows Firewall
Section titled “Windows Firewall”- Open Windows Defender Firewall → Advanced Settings
- Create inbound rules allowing UDP traffic on your
server_portandsteam_query_port
Router Port Forwarding
Section titled “Router Port Forwarding”- Log in to your router’s admin panel
- Forward UDP
20100(or your customserver_port) to your server’s local IP - Forward UDP
27000(or your customsteam_query_port) to the same IP - Restart your Holdfast server and test from an external connection
Running Multiple Server Instances
Section titled “Running Multiple Server Instances”Each instance needs unique ports. For example:
| Instance | server_port | steam_query_port |
|---|---|---|
| Server 1 | 20100 |
27000 |
| Server 2 | 20101 |
27001 |
Update both the config file and any Docker environment variables (SERVER_PORT, STEAM_QUERY_PORT) if using the official Docker image.
Troubleshooting
Section titled “Troubleshooting”- Server not in browser: Verify
steam_query_portis open and forwarded. This port is what the server browser uses to display player count and map info. - Can’t connect but server shows in browser: Check
server_portfirewall and forwarding rules. - Works locally but not externally: Port forwarding is not configured correctly on your router.
AleForge customers don’t need to manage ports manually. Self-hosters should follow the Holdfast wiki and ensure both UDP ports are open and forwarded.