windows端口占用

123 阅读1分钟

1.查看当前端口被哪个进程占用了(进入到CMD中)

netstat -ano|findstr "8990"

输出结果为: TCP 127.0.0.1:8990 0.0.0.0:0 LISTENING 2700 我们发现8990端口被2700进程占用了 2.基于进程号找进程名称

tasklist|findstr "2700"

输出结果为: kxescore.exe 2700 Services 0 29,284 K

可以去任务管理器停止kxescore.exe应用

zhhll.com.cn/2020/window…