netstat -aon|findstr “8080” // 查询端口获取pid tasklist|findstr pid // pid获取程序 taskkill /f /t /im 程序名 // 杀死程序名称