View what process listen at port


View what process listen at port

Linux:
$ sudo lsof -i -P -n
$ sudo lsof -i -P -n | grep LISTEN



Windows:
netstat -bano | more
netstat -bano | grep LISTENING
netstat -bano | findstr /R /C:"[LISTEING]"


How to list open ports and application using them in Windows

  netstat -abn or netstat -a -n -p tcp -o

Mais vistos