Remote, Workflows & Ops

Remote Access: T3 Connect & Tailscale

Compare LAN, Tailscale, and T3 Connect and configure cross-network device discovery with t3 up.

By default, T3 Code serves locally on port 3773. As soon as you want to check runs from your phone or connect from a laptop to an always-on workstation, you have three supported networking paths: Local Network (LAN), Tailscale, and T3 Connect.


1. Comparing the Three Options

MethodNetwork RequirementRouter Port ForwardingBest For
Local Network (LAN)Devices share the same Wi-Fi / LANNoDesk + phone in the same home or office
TailscaleDevices joined to your private TailnetNoEngineers already running Tailscale mesh networking
T3 ConnectInternet access on both devicesNoZero-config remote access anywhere without VPN setup

2. Option 1: T3 Connect (Zero-Config Remote Access)

T3 Connect links your host machine to your mobile or secondary devices without router port forwarding or manual DNS setup.

Enable via Desktop App

  1. Open T3 Code on your host machine;
  2. Navigate to Settings → Sharing & access;
  3. Sign in and flip on the T3 Connect toggle for that host environment;
  4. Sign in with the same account on your iOS/Android app or second machine to discover and connect automatically.

Enable via CLI (Ideal for Linux Hosts / Servers)

Run the interactive setup wizard:

bash
t3 up

When prompted for how other devices should reach this machine, choose T3 Connect, follow the sign-in flow, and let it ensure the background service is running.


3. Option 2: LAN or Tailscale Direct Pairing

If you prefer keeping traffic strictly inside your local subnet or private Tailnet:

  1. Start the server (via t3 service install, t3 up, or binding explicitly to your Tailscale IP):
    bash
    t3 serve --host 100.x.y.z --port 3773 --no-browser
  2. Complete the pairing grant flow on the client. Once paired, the app remembers the grant in local SQLite state and can dynamically adapt if your local Wi-Fi IP changes later.

4. Security Practices for Remote Hosts

Connecting a shell-capable coding control plane over a network calls for basic hygiene:

  1. Keep approval prompts enabled (mod+shift+a) for destructive or shell-executing actions when working remotely.
  2. Never expose an unprotected 0.0.0.0:3773 port on a public VPS. Always gate remote traffic behind Tailscale, an SSH tunnel, or T3CODE_AUTH_TOKEN + T3 Connect.
  3. Revoke unused pairing grants or toggle off T3 Connect in Settings → Sharing & access whenever you no longer need remote access on a machine.