最近用springboot写项目的时候 因为前端使用的VsCode 启动的时候也是使用8080端口
在windows+R 后进入cmd 输入 netstat -ano|findstr "8080" 查看8080端口占用者的PID
tasklist|findstr "刚才查到的PID号" 找到占用端口的进程名
taskkill /f /t /im node.exe 结束node.exe对8080端口的占用
最近用springboot写项目的时候 因为前端使用的VsCode 启动的时候也是使用8080端口
在windows+R 后进入cmd 输入 netstat -ano|findstr "8080" 查看8080端口占用者的PID
tasklist|findstr "刚才查到的PID号" 找到占用端口的进程名
taskkill /f /t /im node.exe 结束node.exe对8080端口的占用