The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
Prefer not to run the server on your own PC? Godlike.Host offers hosted Terraria servers with free DDoS protection and up to three free backups a day.
To host a Terraria dedicated server on Linux, download the server archive, run the Linux binary, select or create a world, and start it with a configuration file. For LAN play, players connect to the host’s private address. For Internet play, reserve a stable local address, forward TCP and UDP port 7777, and allow that port through the host firewall. Use tmux or screen so the server stays alive after you disconnect from SSH.
The current Official Terraria Wiki download section lists server version 1.4.5.8, but its page is marked subject to revision and includes older-version material. Check the publisher’s official download destination immediately before deployment, then verify that the archive’s directory and binary names match the commands below.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →As an Amazon Associate I earn from qualifying purchases.
What do you need before setting up the server?
You need an always-on Linux machine, a user account that can read and write the server and world files, and network access appropriate to the way people will connect. A home machine avoids a recurring hosting bill but requires router access and a stable local address. A VPS supplies public networking and data-center uptime, but you must manage its firewall and pay the provider.
- A 64-bit x86 Linux host is the straightforward option because the archive includes
TerrariaServer.bin.x86_64. - A 32-bit x86 host uses
TerrariaServer.bin.x86. - ARM and other non-x86 systems need the Mono route and additional libraries; the supplied x86 binaries are not interchangeable with those architectures.
- For a public server, reserve a stable LAN address at home or use the VPS’s public networking so the address does not change unexpectedly.
- Create a separate Linux account for the game server when possible. Running it under a dedicated account limits the files the process can access if the server is compromised.
The guide below uses a shell session and does not require a graphical desktop. Keep the server files and worlds in a location owned by the account that runs the process.
Popular on Amazon
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
How do you obtain and extract the Terraria Linux server files?
Download the dedicated-server archive from the publisher’s official destination, or use the server files included with a Steam installation. Because archive contents change between releases, inspect the extracted directory rather than assuming an old numbered folder.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minute- Create a directory for the server and enter it:
mkdir -p ~/terraria-server && cd ~/terraria-server. - Extract the downloaded archive into that directory with the archive utility appropriate to its format. After extraction, change into the numbered version directory and then its
Linuxsubdirectory. - Give the supplied Linux binaries execute permission:
chmod +x TerrariaServer.bin.x86*. - On a 64-bit x86 host, start
./TerrariaServer.bin.x86_64. On a 32-bit x86 host, start./TerrariaServer.bin.x86.
If the shell reports “permission denied,” repeat the chmod step from the directory containing the binary. If it reports that the executable format is invalid, check the host architecture; an x86 binary will not run natively on ARM or another non-x86 platform.
How do you select or create a world?
The first launch opens the server’s world-selection and startup flow. You can select an existing world or follow the prompts to create one, then confirm that the server reaches its command prompt before exposing it to other players.
On Linux, Terraria world files are stored by default in ~/.local/share/Terraria/Worlds. The account starting the server must be able to read and write that directory. If you keep worlds elsewhere, set both the world file and the world path explicitly in the configuration file described below.
Run one interactive launch first even if you intend to automate startup. It confirms that the binary works, reveals the exact world filename, and lets you catch missing libraries or permission errors before a background process hides them.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Fix the driver behind crashes, sound loss and screen glitches3Repair Windows errors before they cause bigger problemsHow do you create a repeatable server configuration?
An interactive wizard is useful for the first test; a configuration file is better for restarts, unattended hosting, and multiple worlds. Copy the example configuration supplied with the server files, edit it with a text editor, and pass it to the binary with -config.
Also popular on Amazon
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
- Copy the example file to a name you will recognize, such as
serverconfig.txt. - Set the world file, port, maximum players, password, world path, ban list, secure mode, language, and any other options your release documents.
- Start the server with
TerrariaServer.bin.x86_64 -config serverconfig.txt(or the 32-bit binary on a 32-bit host). The documented form isTerrariaServer -config <serverconfigfile>; use the actual executable name in your archive.
A minimal configuration can look like this. Replace the example paths with the absolute paths used by the account running the server:
world=/home/terraria/.local/share/Terraria/Worlds/MyWorld.wld
worldpath=/home/terraria/.local/share/Terraria/Worlds
port=7777
maxplayers=16
password=choose-a-password
banlist=banlist.txt
secure=1
upnp=0
npcstream=0
language=en-US
The names and defaults that matter most are:
port=7777is the documented default server port.maxplayersaccepts 1 through 255 in the configuration example. The current server page describes 16 as the default maximum; versions before 1.4.0.1 used 8 as the default.worldpathchanges where world files are looked up. The Linux default is~/.local/share/Terraria/Worlds.passwordprotects the join process. Use a non-obvious value when the server is reachable from the Internet.secure,banlist,language,upnp, andnpcstreamare documented configuration options. Keep the values supported by the server version you downloaded.
Do not use a relative world path when the server may be started from different directories. An absolute path avoids a common failure in which the process starts successfully but cannot find the intended world.
How do you keep the server running after SSH logout?
A foreground process is simplest while diagnosing startup. For a persistent server, launch it inside tmux or screen, detach from the session, and reattach whenever you need to inspect the console or issue a command.
Using tmux
- Start a session with
tmux new -s terraria. - Change to the Linux server directory and run the configured command, for example
./TerrariaServer.bin.x86_64 -config serverconfig.txt. - Detach without stopping the server by pressing
Ctrl-b, thend. - Reconnect later with
tmux attach -t terraria.
Using screen
- Start a named session with
screen -S terraria. - Run the server command inside it.
- Detach with
Ctrl-a, thend. - Reattach with
screen -r terraria.
These multiplexers preserve the process when the SSH connection closes, but they do not replace backups, monitoring, or a controlled update procedure. Keep the session name and configuration path documented so another administrator can recover the console.
How do you expose the server safely on a LAN or the Internet?
LAN and Internet hosting require different network steps. A LAN player uses the host’s private IPv4 address. An Internet player needs a reachable public address and a path through the router or cloud firewall.
For LAN play
- Find the Linux host’s private IPv4 address using the normal network tools for your distribution.
- Leave the server on port 7777 unless you deliberately changed the
portsetting. - Allow local connections to that port in the host firewall if a firewall is enabled.
- Give players the private address and port. They should not use the router’s public address for a same-LAN connection unless the router supports that arrangement.
For Internet play from home
- Reserve a stable LAN address for the Linux host in the router’s DHCP or address-management settings.
- Forward port 7777 from the router to that reserved address. The dedicated-server documentation identifies 7777 as the default and notes that forwarding can fail behind some NAT arrangements.
- Allow port 7777 through the Linux host firewall. Permit both TCP and UDP when configuring the rule, rather than opening unrelated ports.
- Give remote players the public IP address and configured port. Never publish the server password together with the address in a public channel.
For a VPS or cloud host
Allow TCP and UDP 7777 in the provider’s network controls and in the Linux host firewall. Cloud deployments such as AWS or GCP still need both layers configured; opening a provider rule alone does not override a local firewall.
Also popular on Amazon
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
When port forwarding does not work
Some Internet connections use carrier-grade or otherwise restrictive NAT, so the router cannot accept an inbound connection even when its rule is correct. A VPN overlay can provide an alternate private network path when you cannot obtain a forwardable public address. Every player then needs access to that overlay, and they join using the address it assigns to the server host.
Free tools Windows power users keep installed
One-click scans. No signup required.
How do players join the Linux server?
Players use Terraria’s built-in IP join flow rather than the host’s shell.
- Open Terraria and choose Multiplayer.
- Select a character.
- Choose Join via IP.
- Enter the server’s LAN address for a local game or its public address for an Internet game.
- Enter the configured port, normally
7777, and supply the password if one is set.
If a player can reach the address but receives a password or world error, the network route is working and the next checks should focus on the configuration file, world path, and server console output.
How do you save, stop, and update the server without losing progress?
Use the server console’s save-and-exit command before closing the process. Automatic saving occurs at each in-game dawn, described in the guide as about 24 minutes, but ending the process without save/exit can lose changes made since the last save.
- Warn players that maintenance is about to begin.
- Run
saveif you want to write the current world while leaving the server online, then issueexitor the documented combinedsave/exitcommand when shutting down. - Wait for the console to confirm shutdown before closing the
tmuxorscreensession. - Back up the
.wldworld file, configuration file, and ban list to storage outside the live server directory.
To update, stop the old process cleanly, download and extract the new server archive, reapply execute permission with chmod +x TerrariaServer.bin.x86*, and inspect the new directory for changed binary names or configuration examples. Point the new binary at the existing world and configuration only after confirming their paths, then start it in a test session before inviting players back.
How do you run more than one Terraria server?
Each instance needs its own configuration file, world, and port. Copy the first configuration, change the world and, if necessary, worldpath, assign a different port such as a second unused value, and start each binary with its matching -config argument.
Also popular on Amazon
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
Every additional Internet-facing port must also be allowed through the host firewall and forwarded by the router or opened in the cloud firewall. Tell players the specific port for the world they want; the default 7777 applies only to the instance configured with that value.
What are the main hosting choices?
The right arrangement depends on whether you value low recurring cost, public reachability, or administrative simplicity.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
| Choice | Advantages | Costs and constraints |
|---|---|---|
| Home Linux machine | No recurring hosting bill; direct control of files and hardware | Needs an always-on machine, stable LAN addressing, router access, firewall rules, and an Internet connection that accepts inbound traffic |
| VPS or cloud host | Public networking and data-center uptime; no home-router dependency | Provider cost, cloud firewall rules, Linux administration, and responsibility for backups and updates |
| Interactive startup | Fastest way to select a world and expose startup errors | Manual after every restart; easy to choose the wrong world or forget an option |
| Configuration-file startup | Repeatable, scriptable, and suitable for multiple worlds | Requires careful paths, permissions, and version-aware settings |
| Foreground process | Clear console output while diagnosing a new installation | Stops when the shell closes or SSH disconnects |
tmux or screen |
Survives logout and permits later console access | Someone must still monitor the session and perform orderly shutdowns |
What should you check when the server fails?
The binary will not start
Confirm that you are in the archive’s numbered Linux directory, rerun chmod +x TerrariaServer.bin.x86*, and select the binary matching the host architecture. Non-x86 machines require the Mono route and its additional libraries rather than the supplied x86 executable.
The server starts but the world is missing
Check the exact filename, case, and absolute location of the world setting. Verify that worldpath points to the directory containing the .wld file and that the dedicated Linux user has read and write permission there.
Players on the same network cannot connect
Have them use the host’s private IPv4 address, not localhost or a public address that the router may not loop back to. Check the Linux firewall and confirm that the server is listening on the configured port.
Remote players cannot connect
Verify the server’s port value, the host firewall rule, the router forward or cloud firewall rule, and the public address supplied to players. If all settings are correct but the connection is still unreachable, the Internet service may use restrictive NAT; use a VPN overlay or obtain a forwardable connection.
Also popular on Amazon
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
The server stops when you disconnect
Start it inside tmux or screen and detach using the proper key sequence. Reattach afterward to confirm that the process remains at the Terraria console.
Recent building or inventory changes disappeared
The process may have been closed without a save-and-exit command. Reconnect to the console, use the documented save command before maintenance, and restore a known-good world backup if the latest file is damaged.
What is the safest first-run checklist?
- Confirm the archive version and binary names against the publisher’s current download.
- Run one interactive launch and verify the intended world.
- Move the confirmed settings into a configuration file with absolute paths.
- Test locally before opening the server beyond the LAN.
- Use a dedicated Linux account and a strong server password.
- Allow only the configured Terraria port through host and network firewalls.
- Run the production process in
tmuxorscreen. - Use save-and-exit for every planned shutdown and keep separate world backups.
Frequently Asked Questions
Can I administer a Terraria Linux server entirely over SSH?
Yes. The dedicated server runs from a shell, and a terminal multiplexer lets you detach and reconnect without a graphical desktop. Keep an SSH session available for maintenance, but use the server console’s save-and-exit command before terminating the process.
Where should I store backups of a Terraria world?
Store copies of the active .wld file outside the live server directory, along with the configuration and ban-list files that determine how that world is served. Make a copy after a clean save rather than while the process is writing the world.
Why does changing the port require more than editing one line?
The port in the Terraria configuration, the Linux firewall, and any router or cloud firewall must agree. Internet players must also be given the new port, while LAN players still need the host’s private address.
How can I tell whether a router problem is caused by NAT?
If local players can join and the server console is healthy but inbound Internet connections never arrive, the connection may be behind carrier-grade or restrictive NAT. A VPN overlay is the documented alternative when you cannot create a usable port-forwarding rule.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

