1 events.js:72
 2         throw er; // Unhandled 'error' event
 3               ^
 4 Error: listen EADDRINUSE
 5     at errnoException (net.js:901:11)
 6     at Server._listen2 (net.js:1039:14)
 7     at listen (net.js:1061:10)
 8     at Server.listen (net.js:1127:5)
 9     at Object.<anonymous> (./server/index.js:73:24)
10     at Module._compile (module.js:456:26)
11     at Object.Module._extensions..js (module.js:474:10)
12     at Module.load (module.js:356:32)
13     at Function.Module._load (module.js:312:12)
14     at Function.Module.runMain (module.js:497:10)

方法:端口已经被占用了

1.需改nodejs中的侦听端口

2.找到已经占用nodejs端口的应用,关闭应用,重启nodejs。

 

相关文章:

  • 2022-03-06
  • 2021-07-26
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2021-05-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2022-02-06
  • 2021-10-03
  • 2021-12-02
相关资源
相似解决方案