How to Review the App Privacy Report on a Mac

Illustration for How to Review the App Privacy Report on a Mac

Quick Answer To review the App Privacy Report on a Mac, open Apple menu > System Settings > Privacy & Security > App Privacy Report. Select Turn On App Privacy Report if it is not already enabled. After macOS collects activity, return to this screen to see which apps accessed sensitive data—such as your microphone, … Read more

How to Check Open Network Connections on a Mac Using Terminal

Illustration for How to Check Open Network Connections on a Mac Using Terminal

Quick Answer To see open network connections on your Mac, open Terminal and run: lsof -i This lists processes that currently have network sockets open, including the application name, process ID, user, network protocol, local address, and remote address. For a more focused view of active TCP connections, use: lsof -nP -iTCP -sTCP:ESTABLISHED You can … Read more

How to Test Internet Connectivity with ping and traceroute on a Mac

Illustration for How to Test Internet Connectivity with ping and traceroute on a Mac

When a website will not load or your Mac seems disconnected, Terminal’s ping and traceroute commands can help identify where the problem is. ping tests whether a destination responds over the network, while traceroute shows the network hops between your Mac and that destination. Quick Answer Open Terminal from Applications > Utilities. Test a destination … Read more

How to Check DNS Settings and DNS Resolution in Terminal on a Mac

Illustration for How to Check DNS Settings and DNS Resolution in Terminal on a Mac

DNS, or the Domain Name System, translates website names such as 4macos.com into IP addresses that computers use to connect. When browsing is slow or a website will not open, checking DNS settings and testing DNS resolution in Terminal can help determine whether the problem is with your Mac, your network, or the DNS service … Read more

How to See Which Apps Are Using the Network on a Mac Using Terminal

Illustration for How to See Which Apps Are Using the Network on a Mac Using Terminal

If your Mac seems to be using the network unexpectedly, Terminal can show which processes currently have network connections. The most useful built-in command is lsof, which lists open files—including network sockets. Open Terminal from Applications > Utilities, then run: lsof -nP -i Look at the COMMAND and PID columns to identify the app or … Read more

How to Find Which Process Is Using a Port on a Mac Using Terminal

Illustration for How to Find Which Process Is Using a Port on a Mac Using Terminal

When an app cannot start because a port is already in use, Terminal can show which process owns that port. The most useful command is lsof, which lists open files—including network connections—and identifies the process using a specific port. Quick Answer Open Terminal from Applications > Utilities. Run the following command, replacing 8080 with the … Read more