Find out what is listening on a port (Linux)

If you want to find out which process is listening to a certain port on Linux then you can run the following command, where I’ve chosen port 80:

sudo netstat -ltnp | grep ':80'


Leave a Reply

Your email address will not be published. Required fields are marked *