window根据端口号找应用进程

window+R 组合键,输入【cmd】命令,调出窗口

netstat -aon|findstr "1198"

tasklist|findstr "19800"


C:\Users\mytest>netstat -aon|findstr "1198"
TCP 0.0.0.0:1198 0.0.0.0:0 LISTENING 19800
TCP [::]:1198 [::]:0 LISTENING 19800

C:\Users\mytest>tasklist|findstr "19800"
SoapUI-5.2.1.exe 19800 RDP-Tcp#88 2 613,936 K

找到19800所对应的程序,结束任务

 

posted @ 2023-07-27 10:20  金虹巴巴  阅读(47)  评论(0编辑  收藏  举报