# To view which users/processes are listening to which ports:
sudo netstat -lnptu