This command will tell you which process is using a particular tcp port. In the case of the example, port 80, the httpd port.

lsof -i tcp:80