项目端口被占用,报错Error: listen EADDRINUSE: address already in use 127.0.0.1:8080,npm ERR! lshan@1.0.0 dev:

直接上报错截图

项目端口被占用,报错Error: listen EADDRINUSE: address already in use 127.0.0.1:8080,npm ERR! lshan@1.0.0 dev:
遇到这种问题,项目一直启动不了,就是端口被占用了,解决方法。借鉴一个大佬的博客把问题解决了。
1,先windows+r打开窗口
2,netstat -ano |findstr 端口号 得到进程号 (findstr 很像linux下的grep命令)
项目端口被占用,报错Error: listen EADDRINUSE: address already in use 127.0.0.1:8080,npm ERR! lshan@1.0.0 dev:
3. taskkill /pid 进程号 /F
项目端口被占用,报错Error: listen EADDRINUSE: address already in use 127.0.0.1:8080,npm ERR! lshan@1.0.0 dev:4 . netstat -ano |findstr 端口号 可以再验证下该端口还开着没

项目端口被占用,报错Error: listen EADDRINUSE: address already in use 127.0.0.1:8080,npm ERR! lshan@1.0.0 dev:

整体流程如下
项目端口被占用,报错Error: listen EADDRINUSE: address already in use 127.0.0.1:8080,npm ERR! lshan@1.0.0 dev:
原文链接https://blog.csdn.net/CallMeV6/article/details/80677994

Windows10关闭占用某一端口号的进程https://blog.csdn.net/eagleuniversityeye/article/details/79985027?utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-1.control&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-1.control

上一篇:vulnhub之旅:Mr-Robot


下一篇:用户交互Scanner