Which program listens on a port?

Let’s say you run nmap on your local box and you see an open port, but don’t know which program is listening on that port. Wouldn’t it be great to be able to find out? The program you need to find this information is lsof, or list open files. This program can show you a lot of information about open files, ports and directories. Let’s go back to the original question....

April 13, 2011