View ports and corresponding applications in windows CMD

netstat -ano

netstat -ano|findstr 8080
Find the word 8080 in the result, and then see what pid he uses
is the application

quote


C:\Users\dell>netstat -ano|findstr 8080
  TCP    192.168.8.138:49176    101.227.139.187:8080   ESTABLISHED     2796
  TCP    192.168.8.138:50799    180.163.32.172:8080    ESTABLISHED     1652
  TCP    192.168.8.138:54472    180.163.25.150:8080    ESTABLISHED     11724
  TCP    192.168.8.138:60838    101.226.222.56:8080    CLOSE_WAIT      11724

C:\Users\dell>tasklist|findstr 2796
TsService.exe                 2796 Services                   0     18,320 K

C:\Users\dell>tasklist|findstr 11724
QQBrowser.exe                11724 Console                    1     97,076 K

C:\Users\dell>tasklist|findstr 1652
QQBrowser.exe                 1652 Console                    1    130,788 K




But to use the found pid, check which application

tasklist|findstr 11724

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326271673&siteId=291194637