How do I join multiplayer servers in Terraria?

I am new to Terraria, and I want to play with my friend. But for some reason, it says 'connecting' for a very long time. I have his IP, and his port, but it will not work.


Make sure your friend has forwarded the ports that Terraria servers require. There's a short guide on how to do it here.

To summarize:

  1. Double check your friend's IP (ask him to go to www.whatismyip.com and read off the address to you). IP addresses can change occasionally.
  2. Double check the port. Your friend is capable of setting it to something non-standard, ask him what it is (standard is 7777).
  3. Get your friend to log into his router (usually 192.168.0.1 or 192.168.0.0, look it up for his specific router).
  4. Click on a port-forwarding or NAT menu button.
  5. Add a rule for Terraria as described in the guide.

Beyond that, you will need to provide more information on errors or your friend's setup before we can determine what could be causing your connection troubles.


I think it's much easier to use Hamachi.

Both players will need to download Hamachi

Instructions

The Hamachi website has gotten a bit confusing these day because they try to trick you into downloading LogMeIn. Hamachi is sort of a legacy product they keep around.

How to Setup A Terraria Server With Hamachi

  1. Make an account for their website.

  2. Click "Try it Free" to download the installer. It's actually completely free. Just uncheck "Try Pro Version for 15 days" to avoid any more commericals.

  3. Install Hamachi and sign in.

  4. Hamachi will automatically assign virtual IP addresses to each person.

  5. Make and name a group in Hamachi.

  6. Have your friend ask to join the group on the Hamachi website.

  7. Approve the join request on the website.

  8. The player hosting the game starts the server.

  9. The player joining the game enters the Hamachi IP address.

Explanation

Why is this better than using your actual IP address?

The Bad

  • As Sadly Not mentioned, the host has to configure his or her router to forward data on a certain port (port 7777 for Terraria) to the Terraria application. (You can read more about port forwarding) Unfortunately, configuring a router for the first time can be like traversing the Labyrinth of Crete - lonely and full of swearing.

  • The main annoyance is that, most likely, nobody in the house knows the password to the router, so you can't even start your grim adventure in the first place.

  • If you're the reincarnation of Theseus, however, here's a nice site with instructions (sometimes outdated) for different router, and a video.

The Good

  • Hamachi creates a Virtual LAN.

  • Remember those LAN parties where everybody brought their desktops and connected to one router and games just figured out how to connect? No? Anyways, Hamachi does that with software. Everybody in the same Hamachi group will seem like they're all locally connected

  • And that means no port forwarding. Yay!

  • Apparently using Hamachi reduces the lag in a multiplayer game too. "Can anything be done to fix the lag in Terraria Multiplayer?"