Ports guide: find and free busy ports
Ports shows every process that is listening on a port on your Mac, who can connect to it, and lets you stop it to free the port. This guide covers each part of the Listening Ports screen.
In this guide
- What the list shows
- Find what is using a port
- Filter the list
- This Mac only or Your network
- Stop a process and free its port
- Ports used by macOS
- Processes owned by root or another user
- After the trial
- Troubleshooting
What the list shows
Open CCToolify and choose Listening Ports under Ports in the sidebar. The badge next to it shows how many ports are in use. The list updates live: new ports appear and closed ones disappear without a refresh.
Three tiles at the top sum it up:
- In use: how many ports are open right now.
- Reachable from your network: how many of them other devices on your Wi-Fi or network can connect to.
- Running longest: the process that has been listening the longest, and on which port.
Each row is one port:
- Port and Type (TCP or UDP).
- App: the process name, a friendly label such as
next devorvite, and on the second line the project folder or where the service comes from. - PID: the process ID.
- Who can connect: This Mac only or Your network (see below).
- Running: how long the process has been running.
- Open and Stop buttons.
Find what is using a port
Type a port number in the search field, for example 3000. Search also matches process names, labels and paths, so postgres or a project folder name works too.
You can also click Free a Port… in the header, type a port, and see which app is using it. If something is, you can stop it right there. If not, you see “Nothing is using port 3000.”
For an HTTP server, such as a dev server, Open opens http://localhost:<port> in your browser.
Filter the list
The chips above the list narrow it down. Each one shows how many ports it holds.
- All: every listening port.
- Dev servers: Node, Vite, Metro, Spring Boot and other development servers, including debuggers.
- Databases: PostgreSQL, Redis, MongoDB and similar.
- Docker: ports published by Docker containers. The row shows the container name.
- macOS: ports used by macOS itself.
This Mac only or Your network
The Who can connect column tells you who can reach each port:
- This Mac only: the port is bound to
127.0.0.1or::1. Only apps on this Mac can connect. - Your network: the port is bound to
0.0.0.0,::or a network address. Other devices on the same Wi-Fi or network can connect too.
Your network is right when you test on a phone or show work to someone nearby. On public Wi-Fi it means strangers can reach that server. localhost vs 0.0.0.0 explains how to keep a dev server to your Mac.
Stop a process and free its port
Click Stop on the row. Stop asks the app to quit first, the same way quitting it normally would, so it can save its work and close its connections.
- When it has quit, the row shows Port is free and a message confirms which process stopped and which ports are free.
- If it is still running after 5 seconds, the message says it didn’t quit and offers Force Stop. Force Stop ends the process immediately, without letting it clean up.
- Databases ask first, because apps using them lose their connection.
- On a Docker row, Stop quits Docker itself, which stops every running container, so it asks first. To stop one container, use
docker stop <name>in Terminal. - One process often holds several ports, such as a dev server and its debugger. Stopping it frees all of them, and every row of that process shows Port is free.
Ports used by macOS
Rows marked Used by macOS belong to system services, such as AirPlay Receiver on ports 5000 and 7000, or Bonjour on 5353. They can’t be stopped here. Where macOS has a setting for the service, the row says where to find it, for example: System Settings › General › AirDrop & Handoff › AirPlay Receiver.
Processes owned by root or another user
Processes that run as root or as another user need admin rights to stop. When you press Stop on one, you see Needs admin access with an Authenticate… button.
The first time, CCToolify asks you to turn on CCToolify Helper: click Open System Settings, then turn it on in System Settings › General › Login Items & Extensions. macOS asks you to approve it because it runs with extra privileges. It only stops processes you pick, and never stops anything on its own.
To remove the helper, turn CCToolify off in System Settings › General › Login Items & Extensions.
After the trial
For the first 7 days every feature is unlocked. After that, until you activate a license, Ports is see-only: you still see the full list of ports, but Stop is locked. It unlocks as soon as you activate a license.
Troubleshooting
- The port is busy again a moment after Stop. Something restarted the process: a Homebrew service, pm2, nodemon or a terminal tab that reruns it. Stop it through that tool, for example
brew services stop postgresql@16. - “didn’t quit”. The process ignored the request to quit. Use Force Stop, or quit it from its own window or terminal.
- Needs admin access. The process belongs to root or another user. Use Authenticate… and allow CCToolify Helper.
- “CCToolify couldn’t verify … so it wasn’t stopped.” Before stopping a process, CCToolify checks it again. If it can’t confirm the process is still the one you picked and that it still holds a port, it doesn’t stop it. Nothing was stopped. Look at the list again and try once more.
- A port you expect isn’t listed. Check the filter chip and the search field. A server that hasn’t finished starting doesn’t listen yet.
More answers are in the FAQ. For the Terminal way, see Port 3000 already in use? Find and free it on macOS.