Repository navigation
Closed
Labels
bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
On the macOS 15 host in Ubuntu 24 Docker container i run
t3 serve --port 5173 --host 0.0.0.0 --port 5173
# ... =>
17:26:10.808] INFO (#239): Listening on http://0.0.0.0:5173
[17:26:10.825] INFO (#238): agent activity publishing standby; waiting for T3 Connect link reconciliation
[17:26:10.826] INFO (#238): provider.session.reaper.started
{ inactivityThresholdMs: 1800000, sweepIntervalMs: 300000 }
T3 Code server is ready.
Connection string: http://172.18.0.2:5173
Token: XTRR7LH9WNTQ
Pairing URL: http://172.18.0.2:5173/pair#token=MYTOKENListening on http://0.0.0.0:5173 - is correct, and it works, but http://172.18.0.2:5173/pair#token=MYTOKEN is not. The server fetches the container IP instead of the host that user provided explicitly
Expected behavior
# ...
Pairing URL: http://0.0.0.0:5173/pair#token=MYTOKEN
Actual behavior
# ...
Pairing URL: http://172.18.0.2:5173/pair#token=MYTOKEN
Impact
Cosmetic issue
Version or commit
0.0.35
Environment
macOS 15.5, node 26.7
Logs or stack traces
Screenshots, recordings, or supporting files
No response
Workaround
No response
Metadata
Metadata
Assignees
Labels
bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.
Activity
t3dotgg commentedon Oct 21, 2026
Note
🤖 Claude Opus 5.5 responding on behalf of Theo
Thanks for the report. This behavior is intended, so we will not change it. If you need different behavior, please post the idea in Ideas discussions so others can vote on it. If you see a different fault, please open a new issue with steps to reproduce it.
juliusmarminge commentedon Oct 22, 2026
Confirmed the CLI output on current main ed9b7ca9c5 on Linux, using isolated data directories. Ran
node apps/server/src/bin.ts serve --port 5173 --host 0.0.0.0 --port 5173 --base-dir /tmp/t3-8384-wildcard: it listened on0.0.0.0:5173and printedhttp://169.254.77.2:5173as the connection address. Repeated with--host 127.0.0.1 --port 5174: the printed address stayedhttp://127.0.0.1:5174.0.0.0.0selects all listening interfaces; it does not identify the host address a remote client should use. The server cannot infer the Docker host address from the container interfaces. The macOS Docker networking case was not verified here. Closing per Theo’s existing comment that this substitution is intended; no code change or PR.