how to see what process is listening on a port code example Example: netstat check port sudo netstat -plnt