Joining dedicated server gets stuck at Connecting

FaloodaMan

Terrarian
Me and my friend starting a mastermode playthrough that I hosted with the server executable in the installation folder. It worked fine until we got to wall of flesh and got stuck on it for a while so we stopped playing for a week or so. Now that we want to play again, I host the server and it just gets stuck at "Connecting to [my ip address]" for both me and my friend. It doesn't seem like a port forwarding problem because if that was the case, it would at least let me join because I host and join on the same PC. I don't use the Host & Play option because my friend has a pirated version of the game while I have a steam version. I would be very glad for someone to help me. If not, I'll make my friend buy terraria too.
 
Me and my friend starting a mastermode playthrough that I hosted with the server executable in the installation folder. It worked fine until we got to wall of flesh and got stuck on it for a while so we stopped playing for a week or so. Now that we want to play again, I host the server and it just gets stuck at "Connecting to [my ip address]" for both me and my friend. It doesn't seem like a port forwarding problem because if that was the case, it would at least let me join because I host and join on the same PC. I don't use the Host & Play option because my friend has a pirated version of the game while I have a steam version. I would be very glad for someone to help me. If not, I'll make my friend buy terraria too.
Hi there @FaloodaMan welcome to the forums. :guidesmile:

I understand it’s your friend’s situation and not yours, but if part of the possible problem is a pirated game, there won’t be any help given. These are the official forums of Terraria, hosted ad-free by Re-Logic. Pirated games simply don’t have a place here. :guidesmile: I hope you can understand.

Here’s more info: Important - Policy clarification concerning Piracy and Scam Links
 
Hi there @FaloodaMan welcome to the forums. :guidesmile:

I understand it’s your friend’s situation and not yours, but if part of the possible problem is a pirated game, there won’t be any help given. These are the official forums of Terraria, hosted ad-free by Re-Logic. Pirated games simply don’t have a place here. :guidesmile: I hope you can understand.

Here’s more info: Important - Policy clarification concerning Piracy and Scam Links
Yes I understand, thanks for replying.
 
Hi there @FaloodaMan welcome to the forums. :guidesmile:

I understand it’s your friend’s situation and not yours, but if part of the possible problem is a pirated game, there won’t be any help given. These are the official forums of Terraria, hosted ad-free by Re-Logic. Pirated games simply don’t have a place here. :guidesmile: I hope you can understand.

Here’s more info: Important - Policy clarification concerning Piracy and Scam Links
Hey there,

may I just step in, as I'm having the same problem but with a legitimately owned game.

I've been working on setting up a dedicated server on an Ubuntu 24.04 VPS and got all the way to firing it up without any issues.

Now I get stuck while trying to connect.

What I have already figured is that it should not be a firewall issue, as tcpdump tells me there are packets flying in on port 1234 (changed from 7777 for testing). These also match the time between starting and stopping the connection attempt, so I am certain these are packets sent by my PC to the server.

However, I still do not connect. All the packets have a length of 0, according to tcpdump. That seemed off to me. Other than that, I'm truly lost right now.

Had no problem when connecting via Steam earlier today, but as soon as I tried via Internet - boom.

Hope you can help!

EDIT: While searching the forum I stumbled upon a post saying that they could connect via their public IP, but not their domain name. This however can also be excluded as the problem, as, again, I know the packets reach the server on the specified port, and I also know that the host is resolved correctly as the connection windows switches from "Connecting to [HOSTNAME]" to "Connecting to [IP]" instantly. The resolved IP address is correct.
 
Last edited:
Hey there,

may I just step in, as I'm having the same problem but with a legitimately owned game.

I've been working on setting up a dedicated server on an Ubuntu 24.04 VPS and got all the way to firing it up without any issues.

Now I get stuck while trying to connect.

What I have already figured is that it should not be a firewall issue, as tcpdump tells me there are packets flying in on port 1234 (changed from 7777 for testing). These also match the time between starting and stopping the connection attempt, so I am certain these are packets sent by my PC to the server.

However, I still do not connect. All the packets have a length of 0, according to tcpdump. That seemed off to me. Other than that, I'm truly lost right now.

Had no problem when connecting via Steam earlier today, but as soon as I tried via Internet - boom.

Hope you can help!

EDIT: While searching the forum I stumbled upon a post saying that they could connect via their public IP, but not their domain name. This however can also be excluded as the problem, as, again, I know the packets reach the server on the specified port, and I also know that the host is resolved correctly as the connection windows switches from "Connecting to [HOSTNAME]" to "Connecting to [IP]" instantly. The resolved IP address is correct.
Hi there @Solus Bellator, unfortunately, all I know of the technical side of things, especially with Ubuntu, is what’s on the wiki, and I’m guessing that you’ve already gone through this: Server. I’m sorry that I’m not more help.
 
Any ideas where else I may find help?
What you've already done would be the best bet - to make a post in this section of the forums like you have. Hopefully someone in the community knows the answer. If they do, they'll answer. I know that everyone would like one-to-one troubleshooting help, but a lot of times that's not possible.
 
What you've already done would be the best bet - to make a post in this section of the forums like you have. Hopefully someone in the community knows the answer. If they do, they'll answer. I know that everyone would like one-to-one troubleshooting help, but a lot of times that's not possible.
Ight, thanks so far. If you know anyone to @ mention, let me now!


EDIT:
@Unit One Thread can be closed - it's been an ufw issue on my side, I forgot to add the rules for 7777, so the requests were indeed reaching the port, but weren't going into the application. I have now successfully completely dockerized the setup and got it running securely and stable!
 
Last edited:
Back
Top Bottom