Skip to content
Edith

Docs

Developer & Data

Ports

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 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
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

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 for turning extensions off, updating and removing them.

Where to find Ports

  • Sidebar. Click Ports in the sidebar to open its page, or press ⌘K 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 ⌥⌘, 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.

Scanning

Setting Default Values Key
Include UDP ports
Also list processes bound to UDP ports.
Off On, Off portsIncludeUDP
Hide macOS services
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
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, and each one is also a tool in Edith's MCP server.

Terminal
ed ports lsed ports who 3000ed ports kill 3000 --yesed 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 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.