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
| Method | Network Requirement | Router Port Forwarding | Best For |
|---|---|---|---|
| Local Network (LAN) | Devices share the same Wi-Fi / LAN | No | Desk + phone in the same home or office |
| Tailscale | Devices joined to your private Tailnet | No | Engineers already running Tailscale mesh networking |
| T3 Connect | Internet access on both devices | No | Zero-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
- Open T3 Code on your host machine;
- Navigate to Settings → Sharing & access;
- Sign in and flip on the T3 Connect toggle for that host environment;
- 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:
t3 upWhen 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:
- Start the server (via
t3 service install,t3 up, or binding explicitly to your Tailscale IP):basht3 serve --host 100.x.y.z --port 3773 --no-browser - 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:
- Keep approval prompts enabled (
mod+shift+a) for destructive or shell-executing actions when working remotely. - Never expose an unprotected
0.0.0.0:3773port on a public VPS. Always gate remote traffic behind Tailscale, an SSH tunnel, orT3CODE_AUTH_TOKEN+ T3 Connect. - Revoke unused pairing grants or toggle off T3 Connect in Settings → Sharing & access whenever you no longer need remote access on a machine.