windows系统端口被占用

99 阅读1分钟

查找被占用的端口



netstat -ano |findstr 端口号

例如被占用的端口号是8080

image.png

终止被占用的端口所在的进程

taskkill /pid 进程号  /f

image.png