Skip to content
Game Servers

Fix Terraria Server "Can't Connect" (Vanilla & tModLoader)

can't connectversion mismatchtModLoader mods differ
7 min read Updated 12 June 2026 ESAGAMES Team

Terraria connection trouble is usually the port, or — on tModLoader — a version/mod mismatch. Here's the fix for both, plus password and player-limit issues that get mistaken for connection failures.

Open the port

Terraria uses a single TCP port by default:

7777/tcp   game (default)

Join the right way

In Terraria → Multiplayer → Join via IP, enter the server IP and port 7777. Make sure your game version exactly matches the server's — a vanilla client can't join a tModLoader server and vice-versa.

tModLoader: match versions and mods

For a modded (tModLoader) server, the client must run the same tModLoader version and have the server's mods enabled. Subscribe to the server's mod list and enable them before joining.

Vanilla is not tModLoader

A common mistake: trying to join a tModLoader server from vanilla Terraria (or the wrong tModLoader branch). Launch the matching client.

Vanilla vs tModLoader — which client to use

Most "can't connect" reports on modded servers come down to a client/server type mismatch. They are not interchangeable:

Server typeClient to launchMods needed?
Vanilla TerrariaVanilla Terraria, same game versionNo
tModLoadertModLoader, same loader versionYes — the server's exact mod list, enabled
TShock (vanilla-compatible)Vanilla Terraria, same game versionNo (server-side plugins only)
Open 7777/tcp, Join via IP, and for tModLoader match the loader version and enable the server's mods.

Quick diagnostic

  1. Confirm you launched the matching client from the table above — this is the single biggest cause.
  2. For tModLoader, check the loader version matches and the server's mods are enabled, not just subscribed.
  3. Try Join via IP with the explicit port server-ip:7777.
  4. If it still fails, rule out a password typo or a full server before blaming the network.
  5. Confirm the host firewall allows 7777, not just the router forward.

Other reasons "can't connect" happens

  • The server has a password set and it's wrong or wasn't entered — Terraria's error for this can look like a generic connection failure.
  • The server is full — check MaxPlayers in serverconfig.txt against how many are already connected.
  • The host's OS firewall blocks 7777 even though the router forwards it.
  • TShock or another server plugin is misconfigured and rejecting connections at the plugin layer, not the network layer.

How to prevent it

  • Publish the exact Terraria/tModLoader version and mod list with your server so players don't guess.
  • Keep serverconfig.txt backed up before editing so a bad change is easy to revert.
  • Update the server the same day as a Terraria/tModLoader update to avoid an extended version mismatch window.

Related errors

For the general port-forwarding steps, see how to port forward a game server. If the connection drops after joining rather than failing to start, see fixing "connection timed out" on game servers.

Terraria hosting, vanilla or modded

Our Terraria hosting supports vanilla and tModLoader with the port open, on a protected network.

Terraria hosting
FAQ

Frequently asked questions

What port does a Terraria server use?

TCP 7777 by default. It must be open and forwarded for players outside your network to connect.

Why can't I join my tModLoader server from Terraria?

Vanilla Terraria and tModLoader are different clients. You must launch tModLoader (matching the server's version) and enable the same mods to join a modded server.

How do I join a Terraria server by IP?

Multiplayer → Join via IP, then enter the server IP and port 7777. Make sure your client version matches the server.

Why does Terraria say I can't connect even though I have the right password?

Double-check for a typo or trailing space in the password field, and confirm the server hasn't hit its MaxPlayers limit — both produce a similar generic failure.

Does TShock cause connection problems separate from networking?

It can — a misconfigured TShock plugin or permission group can reject joins at the application layer even when the port is open and reachable. Check the TShock console log.

Do console or mobile Terraria players connect the same way as PC?

No — console and mobile Terraria use different netcode and generally can't join a PC dedicated server directly; cross-play support varies by platform and version.

Knowledge base

Related articles

Skip the troubleshooting

Managed, protected hosting in Frankfurt — we handle the Linux, the network and the DDoS so you don't have to.

Payments Secure checkout with cards, banking apps and digital wallets.

Choose the payment flow that fits your stack and region without leaving the platform.

Pay by Zen Visa Mastercard Paysafecard PaysafeCash Skrill Trustly Bancontact UnionPay iDeal WebMoney