Check for Antivirus or Firewall Interference. The lost connection Terraria error can occur when your Windows Firewall or antivirus program is blocking you from accessing the server. Under this situation, you can allow the game through your Firewall or antivirus software.