Show ports used with netstat



$ sudo netstat -tulpn