netstat -ano 查看端口使用狀況ide
或者 netstat -ano|findstr 80spa
C:\Documents and Settings\cjx>netstat -ano|findstr 80
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 2404
TCP 0.0.0.0:8009 0.0.0.0:0 LISTENING 512
TCP 0.0.0.0:8082 0.0.0.0:0 LISTENING 1856
TCP 0.0.0.0:8083 0.0.0.0:0 LISTENING 512
TCP 0.0.0.0:8093 0.0.0.0:0 LISTENING 512
TCP 192.168.6.8:3728 192.168.6.1:808 ESTABLISHED 3912
TCP 192.168.6.8:3754 192.168.6.1:808 CLOSE_WAIT 3148
TCP 192.168.6.8:3755 192.168.6.1:808 CLOSE_WAIT 3148
TCP 192.168.6.8:3757 192.168.6.1:808 CLOSE_WAIT 3148
TCP 192.168.6.8:3758 192.168.6.1:808 CLOSE_WAIT 3148
TCP 192.168.6.8:3759 192.168.6.1:808 CLOSE_WAIT 3148
TCP 192.168.6.8:3760 192.168.6.1:808 CLOSE_WAIT 3148
TCP 192.168.6.8:3761 192.168.6.1:808 CLOSE_WAIT 3148
TCP 192.168.6.8:3765 192.168.6.1:808 CLOSE_WAIT 3148
TCP 192.168.6.8:3830 192.168.6.1:808 TIME_WAIT 0
TCP 192.168.6.8:3832 192.168.6.1:808 TIME_WAIT 0進程
看到80端口是進程2404佔用了內存
而後找進程it
tasklist 或者class
tasklist /fi ″PID eq 2404″
C:\Documents and Settings\cjx>tasklist /fi "PID eq 2404"端口
圖像名 PID 會話名 會話# 內存使用di
========================= ====== ================ ======== ============view
Thunder5.exe 2404 Console 0 27,812 Kvi