Inspect local services and stop the right process

Port Pilot

Inspect every local dev server, its project folder, Docker container, and HTTP status from a terminal dashboard, JSON CLI, or macOS menu bar app.

Buy once, use forever. Personal ($19): up to 3 computers you own (license). Office & Team ($99): unlimited computers in your office. Tax included. Source code included. Both include Mac and Windows. No free trial, full refund if it's not right for you.

macOS 14 or later (Apple silicon and Intel) · Windows 10 and Windows 11 (x64 and ARM64)

Latest versions: Mac 1.2.1 (December 6, 2026) · Windows 1.0.0 (December 1, 2026)

The Port Pilot dashboard in Terminal listing six local dev servers, with webhooks-worker answering 503

Without Port Pilot

  • Hitting EADDRINUSE on port 3000 with no idea whether it is an old Next.js tab, a Docker container, or another project
  • Running lsof, ps, lsof -p, and docker ps separately just to find out which project owns a node process
  • Running kill on one PID and leaving child processes behind or shutting down the wrong server
  • Writing curl and sleep loops in test scripts or making coding agents scrape colored terminal tables

With Port Pilot

  • See every local dev server in a live terminal dashboard or macOS menu bar app with project folder, framework, and HTTP status
  • Inspect Docker-published ports with container name, image, and private port alongside your local listeners
  • Preview the full process tree, command, and directory before stopping descendants first with SIGTERM, then SIGKILL if needed
  • Give scripts and coding agents structured JSON, predictable exit codes, port waits, watch events, and short aliases

Why port 3000 turns into a scavenger hunt

You run npm run dev and get EADDRINUSE: address already in use :::3000. Is it yesterday’s Next.js server in a terminal tab you closed, a Docker container, or another project entirely?

Answering that usually meant piecing together lsof, ps, Docker, browser tabs, and careful kill commands. lsof only prints node, so you still have to look up the working directory and walk up the parent processes before stopping anything.

Port Pilot puts all of that in one place. It shows every local service on your computer, which project and command started it, and whether it answers over HTTP, from a terminal dashboard, the command line, or a native macOS menu bar app.

One minute with the dashboard and CLI

Here is a one-minute look at the terminal dashboard and the ports command with six local dev servers running. The projects and servers in the video are fictional.

Interfaces
CLI, TUI & desktop apps
Use the live React and Ink terminal dashboard, the scriptable ports CLI, the native macOS menu bar app, or the native Windows 10/11 desktop app.
Platforms
Mac, Windows & Linux
Native desktop apps for macOS 13+ and Windows 10/11 (x64 & ARM64), plus the CLI and terminal dashboard on macOS and Linux (Node.js 20+).
Privacy
100% local
No account, API key, database, or hosted service. Process details, aliases, and HTTP health checks stay on your machine.
Pricing
$19 one-time
Tax included, no subscription. Includes the notarized macOS menu bar app, packaged CLI, and source code.

Inside the terminal dashboard

Run ports to open the live dashboard. It lists the port, project, framework, process, owner, memory use, uptime, command, and process ancestry, plus local URL, HTTP status, page title, response time, and Docker container details when available.

The default view focuses on development services, and you can switch to all listeners whenever you need to inspect system processes. Every action takes a single key:

KeyAction
Up/Down or j/kSelect a service
/Search
f and sCycle filters and sorting
oOpen its local URL
eOpen the project directory
u, p, c, dCopy URL, port, command or directory
KPreview stopping the process tree

Native macOS menu bar companion

The native SwiftUI menu bar app gives you a compact list of local services without keeping another terminal window open. It remembers the last successful scan so it shows useful data right away while refreshing in the background, and it can notify you when a service starts, stops, or changes health.

Port Pilot desktop app screenshot
Port Pilot on Mac listing four local dev services with port, framework, uptime, memory and HTTP status
Port Pilot on Windows listing local TCP listening ports with PID, memory usage, live HTTP health check, Open and Stop buttons

Click any service to check its health, open the project, copy its URL, create an alias, or stop it. The menu bar app runs on the same CLI engine and JSON output as the terminal interface, so discovery and process safety live in one place.

The details of the port-practice service in the menu bar app: HTTP 200, PID, Open, Copy and Project buttons, user, framework, CPU, memory, uptime, page title, command, directory, the npm start to node server.mjs process chain, and a Stop Service button

Built for scripts, coding agents, and safe shutdowns

When you are scripting or running coding agents, use the CLI directly for JSON output and real exit codes:

ports list --json
ports check 4321 --json
ports is-free 4321
ports wait 4321 --http 200 --timeout 60
ports wait 4321 --free
ports watch --json

Without --json, ports check prints the same details in a readable view:

ports check 3000 showing the process, project, framework, directory, process chain and HTTP health of a Next.js dev server

You can also assign a short alias once in your user config and use it across commands:

ports alias api 8787
ports check api
ports open api

Before Port Pilot stops anything, it previews the process, project, directory, command, PID, and process chain, and asks for confirmation in both the terminal and the macOS app. Automation must pass --yes explicitly. Descendants are stopped before the parent, starting with SIGTERM and only sending SIGKILL if a process does not exit after the grace period.

Compared to lsof, ps, and kill

The built-in Unix tools are free and already on your machine, and they work for a quick check. The friction starts when every server is called node and you need to piece together the project directory, HTTP health, Docker mapping, and child processes by hand.

lsof, ps and killPort Pilot
Which project owns a portLook up the PID’s working directoryShown next to the port
Is it healthycurl it yourselfHTTP status and response time
Docker-published portsSeparate docker psContainer, image and private port
Stopping a dev serverFind the right PID and its childrenPreviews the whole tree, children first
Waiting for a server in a scriptA loop with curl and sleepports wait --http 200
Output for agentsText to parseJSON and exit codes

If you also want each project on a stable address instead of a port number, Local Hoster gives it one like https://shop.localhost.

  1. Live terminal dashboard

    Run ports to see port, project, framework, process, owner, memory, uptime, command, and process ancestry with single-key actions.

  2. Native macOS menu bar app

    Check services without keeping a terminal open, inspect health, open projects, copy URLs, create aliases, and get status notifications.

  3. HTTP health and Docker info

    Shows local URL, HTTP status, page title, and response time for web services, plus container name, image, and private port for Docker.

  4. Safe process tree shutdown

    Previews the process, project, directory, command, PID, and process chain before confirmation, then stops children before the parent.

  5. Script and agent commands

    Run ports list --json, ports check, ports is-free, ports wait --http 200, and ports watch --json with predictable exit codes.

  6. Named port aliases

    Save a short name like api for port 8787 in your user config, then run ports check api or ports open api from anywhere.

Who it’s for

  • Developers juggling several projects. You have an Astro site, a Next.js app, a Vite admin, and a background worker open at once. Port Pilot lists them by project name and URL so you open the right one instead of guessing between 3000, 4321, and 5173.
  • Anyone who hits EADDRINUSE. Run ports check 3000 to see the PID, project folder, command, and process chain before deciding what to shut down.
  • Docker users. When a port is taken and no local process seems to own it, Port Pilot shows the container name, image, and private port behind it.
  • People running coding agents and test scripts. Give agents and E2E scripts real JSON output, exit codes, and ports wait 4321 --http 200 instead of scraping colored tables or guessing when a server is ready.

Office & Team license

Running local microservices, Docker containers, and coding agents across an engineering team? The $99 Office & Team license covers unlimited Mac and Windows developer workstations in your office with one one-time payment and no per-seat renewals. Includes the CLI and source ZIP so everyone on the team can inspect ports and script clean server checks.

Technical specs & requirements

Requirements
macOS 13 or later for the native menu bar app, Windows 10/11 (x64 and ARM64) for the native Windows desktop app, and macOS or Linux with Node.js 20+ for the CLI and terminal dashboard. Docker support is optional.
Privacy & local storage
No account, API key, database, or hosted service. Process details and HTTP health results stay on your computer. The CLI only saves optional aliases to a local user configuration file, and the macOS app stores its preferences and last successful scan locally.
Missing a service?
The default view focuses on development services with a project, framework, runtime, or Docker mapping behind them. Turn on Show all in the menu bar app or pass --all in the CLI to inspect system and unknown listeners. The menu bar app is optional and shares the same CLI engine.
What it does not do
It does not free a port automatically without your confirmation or an explicit --yes. It does not scan other computers, start or restart your servers, or send anything off your machine.
What is included
Ready-to-install ZIPs with the notarized macOS menu bar app, native Windows 10/11 desktop app (x64 & ARM64), packaged CLI, React and Ink terminal dashboard, HTTP health and Docker integration, JSON commands, aliases, setup instructions, and source code. Reopen your purchase page or support.flaviocopes.com for later versions.
Docs & support
Read the Mac & CLI documentation and the Windows guide.

Guides & workflows for Port Pilot

App license

One purchase, one person. Perpetual license ("buy once, use forever") for personal and commercial work on up to 3 computers you own, across Mac and Windows. Office & Team covers unlimited computers in your office.

Updates & refunds. Includes updates and re-downloads anytime from the support portal. If the app isn't right for you, write to flavio@flaviocopes.com for a refund.

Not allowed. Don't share, resell, or redistribute the app download or update key.

Source code. The included source ZIP is licensed under the MIT License. The signed app download and update key remain for the buyer.

Read the full license page ↗