Jan 24, 2018
Open Port Check Tool - Test Port Forwarding on Your Router The open port checker is a tool you can use to check your external IP address and detect open ports on your connection. This tool is useful for finding out if your port forwarding is setup correctly or if your server applications are being blocked by a firewall. How do I close an open port from the terminal on the Mac? If you want to find out what process has a port open, try this: lsof -i :5955 If you want to know whether a port is open, you can do the same lsof command (if any process has it open, it's open; otherwise, it's not), or you can just try to connect to it, e.g.: nc localhost 5955 If it returns immediately with no output, the port isn't open. TCP and UDP ports used by Apple software products
Here is a tool that simplifies using the PF firewall in MacOS: OS X Firewall Unchained
Jul 03, 2017
May 05, 2014
Here is a tool that simplifies using the PF firewall in MacOS: OS X Firewall Unchained How to Find Open and Blocked TCP/UDP Ports