Execute the following in cmd.exe:
netstat -aon
for the list of all open ports and corresponding process Ids (pid).
Name of the application for a particular pid can be retrieved by:
tasklist
Filters can be applied in the above commands in case the output is verbose using pipeline ( | ) :
Example:
netstat -aon | findstr 3306
It will show only those line which has 3306.
No comments:
Post a Comment