Listing a process using a particular TCP port Dec 29, 2016 by Marcelo Jacobus Here is how you get the pid: lsof -i tcp:8080 -t