# A process that is not mcpd holds the gateway's port (/docs/troubleshooting/port-held-by-other-process)

What turno doctor --security means by "mcpd port <port>: held by <describe owner>, which does not answer as mcpd, so...", 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 [#what-you-see]

```text
  !  mcpd port <port>: held by <describe owner>, which does not answer as mcpd, so sessions would send it the gateway token
     manual: stop that process, or move mcpd: turno config set mcpd.port <port>, then turno mcp sync
```

It is a warning; warnings do not change the exit code. Words in angle brackets stand for values from your machine.

## Why it happens [#why-it-happens]

Every session sends its gateway token to mcpd's port. The process that listens there does not answer as mcpd.

## Fix [#fix]

Stop that process, or move mcpd: turno config set mcpd.port &lt;port&gt;, then turno mcp sync.

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`](https://github.com/wimo-dev/turno/blob/main/packages/turno/src/cli/security.ts).