# Ports

> Ports documentation for Edith on Mac. See and stop every local server you left running. Setup steps, settings, shortcuts and ed commands.

- Canonical URL: https://getedith.pro/docs/extensions/localhost-ports
- Updated: 2026-12-02

Ports lists every process listening on this Mac with its port, project folder, command, address, CPU and memory. It recognises common dev servers and databases, opens them in the browser, and frees a port by stopping whatever holds it. Read the [Ports overview](https://getedith.pro/extensions/localhost-ports) for screenshots and use cases.

![Ports in Edith listing local servers grouped by project, with Rails on port 4000, Vite on 5173 and Next.js on 3000, each with its command, PID, memory and open, copy and stop buttons](shot:ext-ports)

## Install Ports

1. Open **Library** in Edith's sidebar.
2. Search for Ports in **Search tools**, or open the **Developer & Data** category.
3. Press **Install**. Ports is added to your sidebar.

From the terminal, `ed extensions install ports` does the same. See [Extensions](https://getedith.pro/docs/extensions) for turning extensions off, updating and removing them.

## Where to find Ports

- **Sidebar.** Click Ports in the sidebar to open its page, or press <kbd>⌘</kbd><kbd>K</kbd> and type its name.
- **Home.** Open **Home**, press **Edit Home**, then **Add widgets** to place its widgets.

## Get started with Ports

1. **Find what is running.** Servers are grouped by project. Exposed ones are reachable from other machines.
2. **Open or copy.** Open a dev server in the browser or copy its address.
3. **Free a port.** Stop asks the process to exit, and offers a force stop if it does not.

## What Ports does

- **Local servers and ports.** See which process holds each port, open dev servers and free a port.

## Settings

Open Ports from the sidebar and press **Settings** at the top right of its page. You can also select Ports in **Library** and press **Settings**, or press <kbd>⌥</kbd><kbd>⌘</kbd><kbd>,</kbd> while its page is open.

From the terminal, read a setting with `ed config get <key>` and change it with `ed config set <key> <value>`, using the key in the last column. See [ed config](https://getedith.pro/docs/cli/config).

### Scanning

| Setting | Default | Values | Key |
| --- | --- | --- | --- |
| **Include UDP ports**<br>Also list processes bound to UDP ports. | Off | On, Off | `portsIncludeUDP` |
| **Hide macOS services**<br>Leave out ports held by the system, such as the AirPlay receiver. | On | On, Off | `portsHideSystem` |

### Stopping

| Setting | Default | Values | Key |
| --- | --- | --- | --- |
| **Wait before offering a force stop** | 5 seconds | 1 to 30 seconds | `portsStopTimeout` |

### Widget

| Setting | Default | Values | Key |
| --- | --- | --- | --- |
| **Show only dev servers**<br>Leave other listening processes out of the Home and desktop widget. | On | On, Off | `portsWidgetDevOnly` |

## From the terminal

Everything above works in the app. The `ed` command line is optional, for scripts and coding agents. Ports's commands are in [`ed ports`](https://getedith.pro/docs/cli/ports), and each one is also a tool in [Edith's MCP server](https://getedith.pro/docs/mcp).

```sh
ed ports ls
ed ports who 3000
ed ports kill 3000 --yes
ed ports open 5173
```

## Permissions and requirements

- macOS 14 or later on Apple silicon
- Edith running
- None. Ports reads the processes of the signed-in user without administrator rights.

See [Permissions](https://getedith.pro/docs/permissions) for how Edith asks for each one.

## Questions

### Why does port 5000 show AirPlay Receiver?

macOS listens on ports 5000 and 7000 for AirPlay when AirPlay Receiver is on in Sharing settings. Ports labels it and never stops it; turn the receiver off or run your server on another port.

### Can it see servers run by other users?

No. Without administrator rights macOS only shows the sockets of your own processes, so a port held by a system daemon can look free.

### Does Ports keep scanning in the background?

No. It scans only while its page or widget is visible, every two seconds, or when you run a command.

### Can I use it from the terminal?

Yes. ed ports ls lists dev servers, ed ports who 3000 names the holder, ed ports open 5173 opens one in the browser and ed ports kill 3000 --yes frees the port.

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
