Here is how you get the pid:

lsof -i tcp:8080 -t