netstat -ano | findstr 端口号 例如 :netstat -ano | findstr 8080 taskkill /pid {pid} 例如 :taskkill /pid {7888}