How to find the ports that a linux machine listen on Posted on July 15, 2020 by Henrik Reply sudo netstat -tulpn | grep LISTEN