Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

SteamCMD downloads the server files; TerrariaServer then hosts the world. Install SteamCMD, download the Terraria server package into a dedicated directory, create a configuration file, start the executable with that file, and allow the configured port through your firewall. The documented default is port 7777 and the default maximum is 16 players, but every client must use your changed port if you select another one.

What you are installing

A Terraria server has two separate parts. SteamCMD is Valve’s command-line downloader and updater. It does not run the game world. The downloaded TerrariaServer.exe (Windows) or TerrariaServer (Linux and macOS) process loads a world, listens for player connections, and provides the server console.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Steam Support states that all Steam game servers now use SteamCMD to download and update dedicated-server files. The Terraria server executable can run without the graphical Terraria client, so a spare Windows, Linux, or macOS computer can host it. For Internet play, that computer must remain powered on and reachable, and the host’s firewall and, usually, the router must permit the listening port.

Before you begin

  • A 64-bit Windows, Linux, or macOS host with enough disk space for SteamCMD, the server files, worlds, and backups.
  • Permission to install software and create firewall rules on that host.
  • A stable directory that will not be moved after you create world and configuration paths. Examples below use C:TerrariaServer on Windows and ~/terraria-server on Linux or macOS.
  • The current Terraria entry in Valve’s SteamCMD supported-games documentation. App IDs and package layouts can change, so verify the ID or dedicated-server tool shown there immediately before downloading.
  • For Internet hosting, access to the router’s port-forwarding page or to your cloud provider’s network firewall.

SteamCMD can install anonymously when the game-server package permits it. Do not put a normal Steam account password in a script unless the package documentation explicitly requires authenticated access.

#1 Best Overall
Sale
Compressed Air Duster,130000RPM Super Power Cordless Air Duster,Rechargeable Brushless Blower,3 Gear Adjustable Blower with LED Light,Dust Remover for Computer/House/Outdoor/Car
  • Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
  • With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
  • Wide Application: attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
  • Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
  • Economical &Reusable: Built durable materials with a long-lasting battery,our CAGIWIRU air duster it's a sustainable alternative to disposable air cans.

Install SteamCMD

Windows

  1. Download SteamCMD from Valve’s SteamCMD documentation and extract it to a permanent folder such as C:steamcmd. Avoid placing it in a temporary Downloads folder.
  2. Open Command Prompt and change to that directory:
    cd /d C:steamcmd
  3. Run steamcmd.exe once so it can update itself. Close it with quit after the update completes.

Linux

  1. Install the SteamCMD package using your distribution’s supported package method, or download the Linux SteamCMD archive from Valve’s documentation.
  2. Create a directory for the server and ensure the account that will run it owns that directory:
    mkdir -p ~/terraria-server
  3. Confirm that the SteamCMD launcher is callable as steamcmd or ./steamcmd.sh. The exact package name and 32-bit compatibility requirements vary by distribution.

macOS

  1. Download the macOS-compatible SteamCMD distribution described in Valve’s documentation and place it in a permanent directory.
  2. Create the server directory, for example:
    mkdir -p ~/terraria-server
  3. Run SteamCMD from Terminal. macOS security prompts may require you to approve the downloaded executable before the first run.

Choose the correct Terraria package and install it

Do not blindly copy an old command that contains an app ID. Open Valve’s current supported-games list, find the Terraria server entry, and note whether it identifies the Terraria application itself or a separate official dedicated-server tool. Use the identifier displayed there. This check matters because SteamCMD availability and packaging can change.

In the commands below, <APP_ID> means the identifier currently listed by Valve for the Terraria server package. Replace it with that value; do not include the angle brackets.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Windows command

cd /d C:steamcmd
steamcmd.exe +force_install_dir C:TerrariaServer +login anonymous +app_update <APP_ID> validate +quit

force_install_dir keeps the files in the directory you selected. app_update downloads the package, and validate checks the downloaded files. If SteamCMD reports that the app is unavailable, stop and re-check Valve’s supported-games entry rather than trying random IDs.

Linux or macOS command

./steamcmd.sh +force_install_dir ~/terraria-server +login anonymous +app_update <APP_ID> validate +quit

If your installation exposes the launcher as steamcmd, use that command name instead of ./steamcmd.sh. On completion, list the install directory and confirm that it contains the Terraria server executable and supporting files.

Verify the executable

  • Windows: look for TerrariaServer.exe.
  • Linux and macOS: look for TerrariaServer. If necessary, make it executable with chmod +x TerrariaServer.
  • Keep SteamCMD’s directory separate from the Terraria server directory. This makes updates, backups, and permission troubleshooting easier.

Create a repeatable server configuration

A configuration file prevents you from re-entering the same choices at every start and is essential for scheduled restarts or a service manager. Create serverconfig.txt in the server directory with one setting per line. A practical baseline is:

world=/home/your-user/terraria-server/worlds/main.wld
worldpath=/home/your-user/terraria-server/worlds
port=7777
password=replace-with-a-strong-password
motd=Welcome to the server
maxplayers=16
secure=1
noupnp=1

On Windows, use Windows paths, for example:

world=C:TerrariaServerworldsmain.wld
worldpath=C:TerrariaServerworlds
port=7777
password=replace-with-a-strong-password
motd=Welcome to the server
maxplayers=16
secure=1
noupnp=1

The official Terraria documentation identifies these options:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
EVEO® Screen Cleaner Spray Kit (Streak-Free) TV Screen Cleaner for Smart TV, Lcd, LEd, Oled | Computer Screen Cleaner Spray and Wipe Microfiber Cloth - TV, Monitor, Laptop, iPad, Car - 6.7oz 1 Pack
  • Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
  • Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
  • Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
  • Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
  • Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth
Setting or switch Purpose Important qualification
world= Loads a specific world file. The file must exist at the path you provide, unless you create a world during startup.
worldpath= Sets the directory used for world files. Use a directory that the server account can read and write.
port= or -port Chooses the listening port. The documented default is 7777. Every client must enter a different port when you change it.
password=, -pass, or -password Requires a password to join. Use a strong, unique value and share it privately.
motd= or -motd Displays a message of the day. Keep it short enough to read in the join screen.
maxplayers=, -players, or -maxplayers Sets the player limit. The Official Terraria Wiki lists 16 as the default maximum; hardware and bandwidth can require a lower limit.
secure=1 or -secure Enables additional cheat protection. Use the documented setting supported by your server build.
noupnp=1 or -noupnp Disables automatic UPnP port mapping. This is useful when you want to control router exposure manually.

Do not put comments on the same line as a value until you have confirmed that your server build accepts them. A typo in a path can cause the server to create or search for a different world instead of loading the one you intended.

Create or locate a world

Use an existing world

Copy the .wld file into the directory named by worldpath, then set world= to its full path. The default save locations documented for the desktop platforms are:

  • Windows: the user’s Terraria Worlds directory.
  • Linux: ~/.local/share/Terraria/Worlds.
  • macOS: ~/Library/Application Support/Terraria/Worlds.

Verify the actual path on the host before migrating a world. A world copied from another platform should be backed up first, and the server account must have write permission if players are expected to build and save.

Create a new world automatically

If no world exists, start the server without a valid world= file and use its startup menu, or use the documented creation switches. The syntax is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
TerrariaServer -autocreate 1 -world /path/to/world.wld

-autocreate 1 creates a small world, -autocreate 2 a medium world, and -autocreate 3 a large world. Once creation finishes, stop the server cleanly, record the generated filename, and put that full path in serverconfig.txt for subsequent starts.

Start the server with the configuration file

Windows

cd /d C:TerrariaServer
TerrariaServer.exe -config serverconfig.txt

Keep the console window open. The startup log should show the selected world and port and then indicate that the server is listening. Type the server’s documented console command to save or stop it rather than closing the window abruptly.

Rank #3
Sale
BladeHawks RGB Gaming Mouse Pad Extra Large Extended 31.5x12 Inch-Black | LED mouse pad with 14 lighting modes, covers keyboard & mouse, anti-slip rubber base, waterproof surface, USB powered
  • 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
  • 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
  • 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
  • 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
  • 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.

Linux and macOS

cd ~/terraria-server
./TerrariaServer -config serverconfig.txt

For a remote Linux host, use a terminal multiplexer or service manager so the process survives your SSH session. Test the command interactively first; automate it only after the world path, port, and permissions are correct.

Command-line alternatives

Every configuration-file value can be replaced or supplemented by documented switches. Examples include:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
TerrariaServer -world /path/to/main.wld -port 7777 -players 16 -password strong-password -motd Welcome -secure

The -config <file> switch is preferable for a permanent setup because it keeps the complete launch policy in one file. Steam-specific joining behavior can be enabled with the documented -steam and lobby switches when that mode is appropriate; do not combine them casually with an IP-only setup.

Open the port safely

Host operating-system firewall

Allow the same port selected in port=. The documentation calls for TCP and UDP 7777 (or your replacement port) when hosting through a cloud provider; allowing both protocols on the host avoids protocol-specific connection failures.

On Windows, create an inbound rule in Windows Defender Firewall with Advanced Security for the chosen TCP and UDP port, restricted to the Terraria server executable where practical. On a Linux system using UFW, the equivalent pattern is:

sudo ufw allow 7777/tcp
sudo ufw allow 7777/udp
sudo ufw status

Use your distribution’s firewall tool if it is not UFW. Opening a port globally is broader than necessary; limit the source addresses to your friends’ network ranges when your situation allows it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Sale
Vaydeer Wrist Rest for Keyboard and Mouse, Computer Ergonomic Wrist Support Pad, Soft Memory Foam Arm Cushion for Desk, Palm Hand Office Laptop Typing
  • 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
  • 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
  • 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
  • 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
  • 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.

Home router port forwarding

  1. Give the server host a stable private address, preferably with a DHCP reservation.
  2. Create a port-forwarding rule for the configured port and protocol to that private address. The external and internal ports are normally both 7777 unless you have a reason to translate them.
  3. Leave UPnP disabled if you created a manual rule and set noupnp=1.
  4. Find the public IP address from the router or your Internet provider. Do not publish it together with your password.

Some Internet connections use carrier-grade NAT and cannot accept inbound forwards. In that case, a VPN overlay, a relay, or managed hosting may be required; changing Terraria settings cannot bypass provider-level NAT.

Cloud hosting

In addition to the operating-system firewall, add inbound TCP and UDP rules for the configured port in the cloud provider’s security group or network firewall. A server that listens locally but remains blocked by the provider will appear offline to every outside client.

Join the server from Terraria

  1. Start the server and wait until it reports that it is listening.
  2. In Terraria, open Multiplayer and choose Join via IP.
  3. Enter the host’s private IP address when joining from the same network, or its public IP address when joining over the Internet.
  4. Enter the configured port. Use 7777 only when the server is actually using the default; the Official Terraria Wiki notes that clients must use the changed port when one is selected.
  5. Enter the server password if one is configured.

Test locally first. A successful local connection proves that the world and executable work; it does not prove that router forwarding or cloud firewall rules are correct.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Update without losing the world

  1. Tell players to leave and stop the server cleanly.
  2. Back up the entire worlds directory and serverconfig.txt to storage outside the installation directory.
  3. Run the same SteamCMD command with app_update <APP_ID> validate. SteamCMD will download changed server files.
  4. Review the update output for errors, then start TerrariaServer with the existing configuration.
  5. Test a connection before inviting players back. Keep the backup until the new build has run reliably.

Never treat SteamCMD validation as a world backup. Validation repairs downloaded program files; it does not provide a separate copy of your saved worlds.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Run multiple Terraria servers

Each simultaneous instance needs its own world, configuration file, and listening port. For example, the first instance might use worlds/main.wld, serverconfig-main.txt, and port 7777; a second needs a different world file, a different config, and a different port such as 7778. Open every additional port in the host firewall, router, and cloud firewall, and give players the matching port for each instance.

Do not point two running processes at the same world. Separate directories also make it easier to apply different launch options, backups, and update schedules.

Best Value
Sale
Under Desk Cable Management Tray No Drill, Metal Mesh Cable Management Under Desk with Clamp Mount, 2 Hole Cable Tray with Wire Management and Cord Organizer for Home Office Standing Desk
  • 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
  • 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
  • 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
  • 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
  • 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.

Troubleshoot the common failures

SteamCMD says the app is unavailable

Recheck Valve’s current supported-games documentation and confirm that you selected the Terraria server package rather than a client-only listing. App IDs and packaging can change. Remove an incorrect cached command from scripts and rerun SteamCMD with the identifier currently documented.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The executable is missing

Check that force_install_dir pointed to the directory you are inspecting and that SteamCMD completed app_update without an error. On Linux or macOS, confirm executable permissions with ls -l and apply chmod +x TerrariaServer if required.

The server creates a new world instead of loading yours

Check spelling, capitalization, and the full path in world=. Confirm that the file exists inside the directory named by worldpath and that the account running the server can read it. Relative paths can resolve differently when a service starts from another working directory, so use an absolute path for a permanent installation.

Players on the same network can join, but Internet players cannot

Verify the host firewall first, then the router’s forwarding rule, then the public IP address. Confirm that the router forwards the exact configured port and that the Internet connection is not behind carrier-grade NAT. Cloud hosts require a provider firewall rule in addition to the operating-system rule.

Players receive a timeout after you changed the port

Check all three layers: the Terraria configuration, the host firewall, and the router or provider firewall. Every client must enter the new port; leaving the client on 7777 will fail when the server listens elsewhere.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The server stops when you close SSH or a terminal

Run it inside a persistent terminal multiplexer or configure a service manager after confirming the interactive command works. Ensure the service’s working directory and user permissions match the paths in serverconfig.txt.

Self-hosting versus managed hosting

Running SteamCMD yourself gives you operating-system access, direct control over backups and configuration, and freedom to choose the host hardware. You are also responsible for uptime, updates, firewall rules, router forwarding, security, and troubleshooting. Managed Terraria server hosting can be useful when you cannot leave a computer online or cannot configure inbound networking, but evaluate the service on the following points before paying:

Decision point Self-hosted server Managed service
Monthly cost Uses your existing computer and Internet connection; electricity and bandwidth still have a cost. Provider pricing varies; no universal price can be stated.
Uptime Depends on your power, hardware, operating system, and connection. Depends on the provider’s infrastructure and service-level terms.
Port forwarding You configure the host firewall and usually the home router. The provider normally supplies a reachable endpoint, subject to its network policy.
Operating-system access Full access to files, processes, and automation. Access ranges from a control panel to full virtual-machine access.
Backups You choose the schedule, destination, and retention. Check whether backups are automatic, downloadable, and restorable.
Mods and custom files You control the installation, subject to Terraria compatibility. Confirm mod support and file-upload limits before subscribing.
Player capacity Set maxplayers, then verify that CPU, memory, and bandwidth can sustain it. Capacity depends on the plan and its resource limits.
Geographic latency Players connect to your home or chosen cloud region. Choose a provider region close to most players.

For a small group with an always-on machine, the SteamCMD workflow is usually the most flexible. For a group that needs hands-off uptime or lacks router access, managed hosting removes much of the network administration but does not remove the need to understand worlds, passwords, ports, and backups.

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.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.