Find out a process ID if knowing a port
Three ways to find out a process ID if we know the port:
lsof -w -n -i tcp:PORT_NUMBER
fuser -n tcp PORT_NUMBER
netstat -anpgrep :PORT_NUMBER
lsof -w -n -i tcp:PORT_NUMBER
fuser -n tcp PORT_NUMBER
netstat -anpgrep :PORT_NUMBER
Comments