Skip to content
← All posts

How to see which apps connect to the internet on your Mac

Most apps on your Mac connect to the internet, and many do it when you are not using them: update checks, sync, crash reports, analytics. Usually that is fine. But when your upload is slow, your data plan is running out, or you just installed a new tool and wonder what it does in the background, you want to see it.

macOS has a few built-in ways to look at this. Each shows part of the picture. Here is what each one can tell you, and where it stops.

Activity Monitor: how much each app sends

Open Activity Monitor (in Applications › Utilities) and choose the Network tab. It lists every process with the bytes and packets it has sent and received since it started.

Click Sent Bytes to sort by upload. This is the quickest way to find the app that is using your bandwidth.

What it doesn’t show is where the data goes. You see that a process sent 2 GB, not which servers it talked to.

nettop: live traffic per process

nettop is the command line version, and it updates live. For a summary per process:

nettop -P

Press q to quit. To see individual connections with their remote addresses, run it without -P and limit it to TCP:

nettop -m tcp

To follow one app, pass its process name or PID with -p, for example nettop -p Slack. For a one-time snapshot you can save or search, use logging mode, which prints CSV:

nettop -P -L 1 -J bytes_in,bytes_out

nettop shows IP addresses and ports, but not domain names. An address like 151.101.1.69 could belong to any number of sites behind the same CDN.

lsof: open connections right now

lsof lists every open network connection and the process that owns it:

lsof -nP -iTCP -sTCP:ESTABLISHED

Each line shows the process, its PID, and the connection as your-address:port->remote-address:port. Drop -n to have lsof look up names for the remote addresses:

lsof -P -iTCP -sTCP:ESTABLISHED

To look at one app only, add -a -c and the start of its process name. -a makes lsof match both conditions instead of either:

lsof -nP -iTCP -a -c Slack

Port numbers give a hint about what each connection is: 443 is HTTPS, 80 is plain HTTP, 53 is DNS and 5223 is Apple push notifications.

The host names lsof prints without -n come from reverse DNS, so you often get a cloud or CDN host name, such as server-13-32-1-2.fra56.r.cloudfront.net, rather than the domain the app actually connected to. lsof also only sees connections that are open at the moment you run it. A connection that lasted half a second between two runs never shows up.

Why this is hard with built-in tools

Put together, the built-in tools leave three gaps:

Seeing every connection with its domain and keeping a history needs a network extension: a part of an app that macOS lets see connections as they are made. macOS asks you to approve it before it can run.

Caveats

The faster way: CCToolify

The Network tool in CCToolify lists every outgoing connection your apps make, grouped by app, so you see the full picture in one place.

Setup takes a minute: CCToolify installs its network extension, you allow it in System Settings, then you allow network filtering. CCToolify sees domains, ports and sizes, never page contents or passwords, and nothing leaves your Mac. The Network guide walks through setup step by step.

Once you see a connection you don’t want, you can block it. How to block an app from the internet on your Mac covers the built-in options and CCToolify’s Block.