Home / Dedicated server setup / Port 8050 fix
config.json, change one value at a time, and restart the dedicated server after editing. If the server stops launching, restore the last working config first.Common config fields
| Field | What it controls | Starter value |
|---|---|---|
AutoStartWorldName | The world name the server should load on startup. | auto or your world name |
AutoCreateAndLoadWorld | Whether the server should create and load a world automatically if one does not exist. | true |
AutoCreateWorldSize | The size of the world created by the server. Larger worlds can need more RAM during generation. | 1 |
Password | The join password for private co-op servers. | Use a private password |
Port | The UDP port players connect through. | 8050 |
MaxPlayers | The maximum number of players allowed on the server. | 8 |
EnableCheats | Whether cheat/admin-style behavior is allowed. | false |
Safe editing checklist
- Stop the server before editing the config file.
- Make a copy of the last working
config.json. - Keep JSON punctuation valid: quotes, commas, braces, and true/false values matter.
- Change one value, restart, and test before changing more.
- If friends cannot connect after changing the port, update firewall and router rules to match.
Example config
{
"AutoStartWorldName": "auto",
"AutoCreateAndLoadWorld": true,
"AutoCreateWorldSize": 1,
"Password": "change-me",
"Port": 8050,
"MaxPlayers": 8,
"EnableCheats": false
}
Related Romestead server guides
Start with the dedicated server setup checklist, fix connection issues with the UDP 8050 guide, and protect edits with the save backup guide.