I started a process that listens on port 8080. It is a testing environment for Django. I use Putty to SSH into my linux box and run this process.
After starting this process, I left my computer for a bit. When I returned I found that the Putty connection had been closed. No biggy, I just logged back in on a new connection. However, now when I try to run that process again, I can't because the port 8080 is already in use. I believe that the original process is still active, still listening on port 8080.
How can I kill it?
I tried a bunch of different commands to determine the PID all with no luck. Here's one example:
Code:
sudo netstat -atnp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.1.130:8080 0.0.0.0:* LISTEN -
Why no PID?! How do I figure this out? I need to kill the process.
Bookmarks