Find running ports

To find out which port numbers are being used on your Mac, you can use the lsof (List Open Files) and netstat commands in the terminal…