1.打开cmd(win+R或者搜索框搜索cmd) 2.netstat -ano | findstr :8082 3.taskkill /F /PID 25108 附:如果结束端口提示不成功请使用管理员权限打开cmd在执行前面的步骤即可