[Enable Hardware Acceleration] ──> [Close Background Tabs] ──> [Reduce In-Game Video Settings]
If you already have Terraria installed on a laptop but the school or office Wi-Fi blocks the game from connecting to multiplayer servers, a VPN is the most effective solution.