Troubleshootingturno doctor --security
Another user holds the gateway's port
What turno doctor --security means by "mcpd port <port>: held by <describe owner>, another user, so sessions would s...", and the fix.
This page is for when turno doctor --security reports the finding below: what it means and how to fix it.
What you see
x mcpd port <port>: held by <describe owner>, another user, so sessions would send it the gateway token
manual: stop it or move mcpd (turno config set mcpd.port <port>, then turno mcp sync), then turno mcp token rotateIt is a failure; a failure makes turno doctor --security exit with code 1. Words in angle brackets stand for values from your machine.
Why it happens
Every session sends its gateway token to mcpd's port. A process of another user listens there, so it would receive those tokens.
Fix
Stop it or move mcpd (turno config set mcpd.port <port>, then turno mcp sync), then turno mcp token rotate.
No single command fixes this one, so doctor names the manual step.
Then run turno doctor --security again to see the row turn into ok.
The check lives in packages/turno/src/cli/security.ts.