Find out which process is listening upon a port

To find out which process is listening upon a certain port, you can use the tool lsof:

:~# lsof -i :80
COMMAND   PID     USER   FD   TYPE     DEVICE SIZE/OFF NODE NAME
apache2 26503     root    4u  IPv6 1234567890      0t0  TCP *:http (LISTEN)
apache2 26506 www-data    4u  IPv6 1234567890      0t0  TCP *:http (LISTEN)
apache2 26507 www-data    4u  IPv6 1234567890      0t0  TCP *:http (LISTEN)