现在的位置: 首页 > 综合 > 正文

查看进程占用端口号

2013年09月20日 ⁄ 综合 ⁄ 共 5862字 ⁄ 字号 评论关闭

 

netstat -ano 查看端口使用情况

 

如要查找80端口被那个进程控制使用 netstat -ano|findstr 80

 

 

C:/Users/Administrator>netstat -ano|findstr 80

  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       4

  TCP    0.0.0.0:8090           0.0.0.0:0              LISTENING       3596

  TCP    115.173.102.59:1143    114.112.160.197:80     CLOSE_WAIT      3596

  TCP    115.173.102.59:1440    220.179.123.195:80     ESTABLISHED     3104

  TCP    115.173.102.59:6300    43.253.216.47:80       ESTABLISHED     1628

  TCP    115.173.102.59:6708    222.73.34.108:80       CLOSE_WAIT      3104

  TCP    115.173.102.59:9852    123.188.180.82:8090    ESTABLISHED     3596

  TCP    115.173.102.59:9859    115.61.255.136:8090    ESTABLISHED     3596

  TCP    115.173.102.59:9873    124.89.101.211:8090    CLOSE_WAIT      3596

  TCP    115.173.102.59:9889    110.16.160.225:8090    ESTABLISHED     3596

  TCP    115.173.102.59:9890    125.38.166.119:8090    CLOSE_WAIT      3596

  TCP    115.173.102.59:10555   64.233.181.113:80      TIME_WAIT       0

  TCP    115.173.102.59:10561   66.249.89.99:80        ESTABLISHED     1628

  TCP    115.173.102.59:10562   66.249.89.99:80        ESTABLISHED     1628

  TCP    115.173.102.59:10568   115.239.228.194:8080   TIME_WAIT       0

  TCP    115.173.102.59:10582   123.125.114.171:80     LAST_ACK        1628

  TCP    115.173.102.59:10590   123.125.114.171:80     LAST_ACK        1628

  TCP    115.173.102.59:10613   64.233.181.139:80      ESTABLISHED     1628

  TCP    115.173.102.59:10614   64.233.181.139:80      ESTABLISHED     1628

  TCP    115.173.102.59:10618   123.125.114.80:80      ESTABLISHED     1628

  TCP    115.173.102.59:10634   62.143.83.180:17612    ESTABLISHED     3104

  TCP    115.173.102.59:10659   93.70.135.112:1680     SYN_SENT        3104

  TCP    115.173.102.59:10680   98.111.148.191:51895   ESTABLISHED     3104

  TCP    115.173.102.59:10685   180.229.24.130:47000   ESTABLISHED     3104

  TCP    115.173.102.59:10700   88.80.28.48:4321       SYN_SENT        3104

  TCP    [::]:80                [::]:0                 LISTENING       4

  UDP    0.0.0.0:8090           *:*                                    3596

  UDP    0.0.0.0:56580          *:*                                    3148

 

 

 

看到80端口是进程4占用了

然后找进程

tasklist 

 

 

 

C:/Users/Administrator>tasklist

 

映像名称                       PID 会话名              会话#       内存使用

========================= ======== ================ =========== ============

System Idle Process              0 Services                   0         24 K

System                           4 Services                   0        360 K

smss.exe                       336 Services                   0        452 K

csrss.exe                      456 Services                   0      4,184 K

wininit.exe                    536 Services                   0      1,652 K

csrss.exe                      548 Console                    1     20,148 K

services.exe                   588 Services                   0      4,600 K

lsass.exe                      596 Services                   0      6,824 K

lsm.exe                        604 Services                   0      1,552 K

winlogon.exe                   676 Console                    1      3,276 K

svchost.exe                    776 Services                   0      4,900 K

QQPCRTP.exe                    856 Services                   0      2,808 K

svchost.exe                    892 Services                   0      3,572 K

atiesrxx.exe                  1016 Services                   0        924 K

svchost.exe                   1096 Services                   0     10,244 K

svchost.exe                   1144 Services                   0     21,056 K

svchost.exe                   1192 Services                   0     13,380 K

atieclxx.exe                  1368 Console                    1      1,460 K

svchost.exe                   1376 Services                   0      4,144 K

ZhuDongFangYu.exe             1412 Services                   0      4,652 K

svchost.exe                   1492 Services                   0      8,832 K

spoolsv.exe                   1676 Services                   0      3,928 K

svchost.exe                   1720 Services                   0      2,916 K

svchost.exe                   1872 Services                   0      2,420 K

sqlservr.exe                  2012 Services                   0     23,588 K

sqlwriter.exe                  112 Services                   0      1,476 K

vmnat.exe                      464 Services                   0      1,412 K

svchost.exe                   1256 Services                   0      2,796 K

WLIDSVC.EXE                   2004 Services                   0      4,496 K

vmware-authd.exe              2088 Services                   0      4,832 K

dwm.exe                       2224 Console                    1     25,844 K

WLIDSVCM.EXE                  2276 Services                   0        724 K

taskhost.exe                  2284 Console                    1      6,764 K

vmnetdhcp.exe                 2736 Services                   0      1,044 K

TSVNCache.exe                 3284 Console                    1      4,144 K

WPService.exe                 3424 Console                    1      4,488 K

MOM.exe                       3432 Console                    1     16,852 K

QQPCTray.exe                  3440 Console                    1      1,256 K

360tray.exe                   3492 Console                    1      6,824 K

WmiPrvSE.exe                  3556 Services                   0      1,672 K

360sd.exe                     3744 Console                    1      1,816 K

TSVulFWMan.exe                3200 Console                    1      1,732 K

CCC.exe                       3348 Console                    1     11,392 K

chrome.exe                    1628 Console                    1     93,444 K

chrome.exe                    2380 Console                    1     19,588 K

chrome.exe                     812 Console                    1     49,036 K

LiveUpdate360.exe             3596 Console                    1      6,360 K

emule.exe                     3104 Console                    1    104,860 K

QQ.exe                        3148 Console                    1     32,084 K

TXPlatform.exe                3896 Console                    1      2,460 K

QQ.exe                        6068 Console                    1     28,452 K

explorer.exe                  2516 Console                    1     40,692 K

audiodg.exe                   3656 Services                   0     18,112 K

chrome.exe                    1748 Console                    1     27,564 K

QQMusic.exe                   2524 Console                    1      4,984 K

explorer.exe                  5032 Console                    1     30,180 K

explorer.exe                  5272 Console                    1     39,760 K

Thunder.exe                   4188 Console                    1     30,704 K

ThunderService.exe            4136 Console                    1     15,260 K

chrome.exe                    1172 Console                    1     43,416 K

chrome.exe                    5428 Console                    1     21,748 K

notepad.exe                   4776 Console                    1      9,276 K

notepad.exe                   5900 Console                    1      8,608 K

ApacheMonitor.exe             3248 Console                    1     10,608 K

360Safe.exe                   5444 Console                    1     12,236 K

SoftManager.exe               2920 Console                    1     19,036 K

chrome.exe                    3840 Console                    1     16,140 K

AppleChargerSrv.exe           2708 Services                   0      4,064 K

UI0Detect.exe                 4724 Services                   0      5,720 K

chrome.exe                    1352 Console                    1     27,916 K

cmd.exe                       5536 Console                    1      2,608 K

conhost.exe                   4268 Console                    1      7,936 K

taskmgr.exe                   5492 Console                    1     13,048 K

tasklist.exe                  2160 Console                    1      4,384 K

WmiPrvSE.exe                  1316 Services                   0      5,060 K

 

抱歉!评论已关闭.