1 现象

node服务器 遇见此错误,如下:
events.js:71
throw arguments[1]; // Unhandled 'error' event
^
Error: connect ECONNREFUSED
at errnoException (net.js:770:11)
at Object.afterConnect [as oncomplete] (net.js:761:19)

2 原因及方法

这主要由于上一次node.js server进程仍然还在运行没关闭掉,所以我们需要杀掉此进程即可

3 参考:

link:https://www.cnblogs.com/whitewolf/archive/2013/03/31/2991588.html

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-15
  • 2021-04-15
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
  • 2022-12-23
相关资源
相似解决方案