In this article
A process showing hundreds of Ports has not necessarily contacted hundreds of websites. The number can change as the app creates and releases internal resources. To investigate internet activity, you need evidence about network sockets or traffic rather than this count alone.
First identify the Activity Monitor view
Open Activity Monitor from Applications → Utilities. On the CPU tab, use View → Columns to inspect the available columns. Search for the process you are investigating, and note its PID, the process identifier, alongside its name.
Apple’s process information guide explains how to choose columns and open a process’s information window. The guide covers information about individual processes.

Screenshot: Apple’s process information guide, captured October 27, 2026. Match each measurement to the process you are inspecting.
Keep three similarly named things separate:
| What you are reading | What it helps you inspect |
|---|---|
| Ports column | A count of Mach ports for that process |
| Open Files and Ports in the process information window | A mixed list of open resources; not a TCP-only connection count |
| Network tab | Data and packet activity, not a list of every remote destination |
Apple documents the Network pane separately in its network activity guide. If your question is “where is this app connecting?”, use the per-process connection workflow rather than interpreting Ports as a destination count.
Mach ports are local communication resources
Apple’s Mach overview describes ports as communication channels accessed through permissions called port rights. Processes use those resources when interacting with the operating system and other tasks.
That is a different namespace from familiar network port numbers such as TCP 443. A Ports value of 443 means a count in this column; it does not mean that the process is using HTTPS. A network endpoint’s port number must be read from actual connection details. Even there, port 443 alone does not prove encryption.
The built-in Terminal tool top labels its equivalent statistic ports; the manual shipped with the Mac defines it as the number of Mach ports. You can read that definition with man top, then press q to leave the manual. No settings change is required.
Our test: 32 more Mach ports, no internet sockets
We tested a small purpose-built process on macOS 15.7.5, on October 27, 2026. It waited at three stages: before allocating resources, after allocating 32 Mach receive rights, and after releasing those 32 rights. It created no network sockets.
At each stage we used top to read the process’s Mach-port count and lsof to select its internet sockets. Both commands targeted the same running PID. The result was:
| Test stage | Mach ports reported by top | Internet sockets listed by lsof |
|---|---|---|
| Before allocation | 11 | None |
| After allocating 32 receive rights | 43 | None |
| After releasing those rights | 11 | None |
The change was exactly 32 in both directions. An app can therefore increase this kind of port count without opening an internet socket. This test demonstrates the distinction between the two measurements; it does not establish a normal port count for every app.
The measurements came from Terminal, not an invented Activity Monitor screenshot. The test process ended normally after releasing its own resources. It did not inspect another app’s memory, change privacy permissions, install a background service, or modify firewall settings.
Compare the two measurements for one process
For an optional read-only Terminal check, replace 12345 with the PID shown for your target process:
top -l 1 -pid 12345 -stats pid,command,ports
lsof -nP -a -p 12345 -i
The first command prints one sample, including a #PORTS column. The second lists internet sockets visible to your account for that PID. The -a matters: it combines the PID and internet-socket selections. Without it, combining selection options can return a broader set than intended.
In lsof, -nP keeps addresses and port numbers numeric. It does not reveal HTTPS message contents. A blank result means that no matching internet sockets were listed at that moment within the command’s visibility. It is not proof that the app has never connected, nor does it account for a different helper PID.
An app may have multiple related processes. Record which process you sampled, keep it running during the comparison, and repeat the relevant action if you are investigating a short-lived connection. A process that has exited is no longer the same observation target.
When a rising Ports count deserves a closer look
A single high value cannot identify a leak. Collect a short sequence tied to a repeatable action: before opening a window, after opening it, and after closing it and allowing the app time to settle. Record whether the app is also becoming unresponsive or consuming more memory.
A historical Apple Developer Forums investigation illustrates why context matters: developers compared counts across window and table operations, while Apple staff discussed tools for examining Mach-port resources. That Mojave-era discussion is useful debugging context, not a current threshold or evidence that a specific modern app has the same defect.
If the count keeps increasing across repeated identical actions and the app misbehaves, send the sequence, app version, macOS version, and reproduction steps to its developer. Save work before a normal quit if you need to restart the app. Do not terminate unfamiliar system processes merely to reduce a number.
For a network concern, follow the connection evidence instead: process, protocol, local address, remote address, and state. For an internal resource concern, keep the repeated Ports observations. Choosing the right measurement is what makes either report useful.


