List Open Ports on macOS
Contents
To list open ports on macOS use lsof (list open files). At the end of the day pretty much everything is a file handle in a Unix kernel. The following command filters down to only TCP ports in the LISTEN state:
|
|
To list open ports on macOS use lsof (list open files). At the end of the day pretty much everything is a file handle in a Unix kernel. The following command filters down to only TCP ports in the LISTEN state:
|
|