Every dev server and port, with a Stop button.

The Developer tab lists every dev server and database on your Mac with its port, the project it belongs to, how long it has been running and the memory it holds.

The Developer tab in Activity+, listing dev servers and databases with their ports, projects and Stop buttons
The Developer tab in Activity+, listing dev servers and databases with their ports, projects and Stop buttons. The figures are samples: a web page cannot read your Mac.

1Ports

What is holding the port.

Address already in use has one cause: something else is listening. The tab lists every listening port with the command behind it, so you do not need lsof to find out.

  • Every listening port
  • The command holding it
  • Memory it is using
  • A Stop button on each
No lsof needed
  • next devstorefront, running for 3 hr:3000
  • viteadmin-panel, running for 12 min:5173
  • postgresdb, running for 5 days:5432

2Projects

Which project it belongs to.

Five processes all called node tell you nothing. Each server is shown with the folder it was started in, so you know which one is the project you forgot about.

  • The project folder for each server
  • How long it has been running
  • Servers left running for hours pointed out
  • Totals for servers, ports and memory
The one you forgot

node on port 4324 has been running for 12 days.

It is still holding 117 MB.

Stop

3The rest

Ports that are not yours.

Apps and macOS open ports too. They are listed separately, without a Stop button, which explains why port 5000 or 7000 is taken: on recent macOS, AirPlay Receiver uses both.

  • Ports opened by apps
  • Ports opened by macOS
  • Kept apart from your servers
  • Explains the port 5000 clash
Why port 5000 is busy
  • ControlCenterAirPlay Receiver:5000
  • ControlCenterAirPlay Receiver:7000
  • Spotifyrunning for 3 days:57621

4Docker and Homebrew

Containers and services, in the same list.

Running Docker containers are listed with their image, uptime, published ports, CPU and memory, each with a Stop button, along with the memory Docker's own Linux machine is holding. Homebrew services running in the background are listed too, with a count of packages that have updates.

  • Docker containers with CPU and memory
  • Stop a container without the terminal
  • Homebrew services running at login
  • Packages with updates waiting
Uses the docker command you already have
  • pgpostgres:16, up 3 hours, port 5432212 MB
  • cacheredis:7, up 3 hours, port 637918 MB
  • apinode:22, up 41 minutes, port 8080344 MB

Why it matters

Dev servers and ports, before and after

A developer's Mac collects dev servers. Each one is easy to start and easy to forget, and they hold memory for days. In Activity Monitor they are a row of identical node processes with no hint of which project each belongs to.

Finding what holds a port means remembering the lsof flags, reading the process ID out of the result and killing it by hand.

The Developer tab turns that into a list you can read, with the project name beside each server and a button that stops it.

How to use it

Where it is in Activity+

  1. Open the Developer tab

    It is the twelfth tab in the bar.

  2. Read the top line

    It points out a server that has been running for hours, or counts what is running.

  3. Find the port

    Dev servers and databases are listed first, with port, project and memory.

  4. Stop it

    Click Stop to ask the process to end cleanly.

Compared

Dev servers and ports: Activity Monitor and Activity+

WhatActivity MonitorActivity+
Which process holds a portNo, use lsof in TerminalListed
Which project a server belongs toNoYes
How long a server has been runningNoYes
Stop a serverFind the process, then quit itOne button
Separates your servers from system portsNoYes

Activity+ and Activity Monitor, the whole comparison. Against other apps: iStat Menus, Stats and Vitals.

The words behind it

What the terms mean

Port
A numbered door on your Mac that a program listens on for connections, such as 3000 or 5432.
Listening
Waiting for connections on a port. Only one program can listen on a port at a time.
Dev server
A local web server that a development tool runs while you work on a project.
lsof
The Terminal command that lists open files and network ports.

Questions

Dev servers and ports: what people ask

How do I see what is using port 3000 on my Mac?

Open the Developer tab. Each listening port is shown with the command using it and the project it was started in.

What does Stop do?

It asks the process to end cleanly, the same as the kill command in Terminal. It does not force it.

Why is port 5000 already in use?

On macOS Monterey and later, AirPlay Receiver listens on ports 5000 and 7000. It appears under other apps as ControlCenter.

Does it show Docker containers?

Yes. When Docker is running, each container is listed with its image, ports, CPU and memory, and a Stop button.

How does it decide what is a dev server?

A listening process counts as a dev server or database when it was started from a project folder and is not part of an installed app or macOS.

Does it list Homebrew packages or services?

Yes. It lists Homebrew services with whether each is running, and the packages that have an update waiting.

Does reading ports need admin rights?

No. It lists the ports your own processes have open, which needs no extra permission.

Read on

Guides and related features

Get Activity+ for $9.99

Launch price, paid once, with no subscription. The regular price is $14.99. 50 launch licences left at $9.99

Try it free for 7 days first: download Activity+. Refunds within 14 days, for any reason.