杀死指定端口占用

CMD

netstat -ano | findstr 8088  
taskkill /PID <PID> /F

PowerShell

Get-NetTCPConnection -Localport 8088 | select Localport,OwningProcess
Stop-Process -Id PID
posted @ 2021-01-05 10:25  talentzemin  阅读(322)  评论(0)    收藏  举报