Windows 下 CMD 查看占用端口进程并结束
作者:互联网
C:\>netstat -aon | findstr 8088
TCP 0.0.0.0:8088 0.0.0.0:0 LISTENING 2272
TCP [::]:8088 [::]:0 LISTENING 2272
C:\>tasklist | findstr 2272
javaw.exe 2272 Console 1 409,928 K
C:\>tskill 2272
C:\>tasklist | findstr 2272
C:\>
标签:findstr,tasklist,2272,Windows,0.0,CMD,端口,TCP,8088 来源: https://blog.csdn.net/sleks/article/details/122735194