[CMD]查詢PORT刪除PID

  • 302
  • 0

查詢port刪除pid

MacOs

lsof -wni tcp:8080
kill -9 123456

Win

netstat -ano | findStr "8080"
taskkill /PID 123456 /F