netstat -ano | findstr "LISTEN"
-a: Displays all active connections.
-n: Displays network addresses and port numbers in numerical format.
-o: Displays the process ID (PID) associated with each connection
Last updated 2 years ago