---
title: "DF0050: No Devframe Instance on Port"
description: "No running devframe instance on port {port}."
canonical_url: "https://devfra.me/errors/df0050"
---
# DF0050: No Devframe Instance on Port

> No running devframe instance on port \{port}.

## Message

> No running devframe instance on port `{port}`.

## Cause

The `devframe connect` gateway tool `devframe_connect_call-tool` targeted a port with no live devframe instance behind it: neither the registry nor a direct probe found one serving `__connection.json`. The instance may have stopped, restarted on a different port, or never existed.

## Example

```ts
// No dev server on 5199:
// devframe_connect_call-tool({ port: 5199, tool: 'devframe_state_read' }) → DF0050
```

## Fix

Call `devframe_connect_list-instances` for the current instance list and retry with a live port.

## Source

- [`packages/devframe/src/cli/connect.ts`](https://github.com/devframes/devframe/blob/main/packages/devframe/src/cli/connect.ts): `call()` throws this when neither the registry nor the port probe finds an instance.


## Sitemap

See the full [sitemap](https://devfra.me/sitemap.md) for all pages.
