How to fix Error: listen EADDRINUSE while using nodejs?

前端 未结 30 3762
执念已碎
执念已碎 2020-11-22 06:44

If I run a server with the port 80, and I try to use xmlHTTPrequest i get this error: Error: listen EADDRINUSE

Why is it problem for nodejs, if I want t

30条回答
  •  没有蜡笔的小新
    2020-11-22 06:55

    What really helped for me was:

    killall -9 node
    

    But this will kill a system process.

    With

    ps ax
    

    you can check if it worked.

提交回复
热议问题