added sudo lsof -i -P | grep -i "listen"

List open ports on your machine (Mac OS X)