There are scenarios where we need to know what applications or services on macOS have internet connection. Whether we want to detect an application that uses an internet connection in an unjustified way to transfer sensitive data from Mac, either we want to set certain rules in a firewall or we want to limit its traffic.
Utility Port on macOS supports specific command lines through which we can do almost anything on Mac. Even to get to see the processes of applications that access the Internet.
How do we see the processes of applications that access the internet on macOS?
Open the Terminal utility and execute the command line:
lsof -P -i -n | cut -f 1 -d " " | uniq
After pressing "Return"(Enter) will display a list of all application processes that use internet connection.
COMMAND ControlCe cloudd parsecd rapportd identitys sharingd WiFiAgent WeatherWi StocksWid ScreenTim assistant com.apple Adobe\x20 Core\x20S node WhatsApp
Although the exact names of the applications are not displayed, most of the time the process names are very intuitive. As you can see in the list above, we have: "WhatsApp", "Adobe", "ScreenTim".
Process names that end with the letter "d" are "daemon" processes.
"Daemon" processes are interactive processes of the operating system running in the background, and these often can not be interrupted.