[CMD]查詢PORT刪除PID

  • 303
  • 0

查詢port刪除pid

MacOs

lsof -wni tcp:8080
kill -9 123456

Win

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