netstat -o -n -a | findstr 0.0:80
or
netstat -o -n -a | findstr 0.0:443
or simply,
netstat -aon
Note: The last command will list all connection that is listening, established, starting, closing and all other states, so the list is long, and user has to manually search for rows that has connection originating or targeting to 1270.0.1:80/443 or 0.0.0.0.80/443.
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 8704
The last column of each row is the process identified (process ID or PID).
No comments:
Post a Comment