Find out which process is listening on a port
If you need to find out which process is listening on a certain port, use the following:
Linux netstat -natp | grep :80
Solaris lsof -i | grep :80
On Solaris, you need to have compiled lsof that you can get from Sunfreeware.com