How to fix Error: listen EADDRINUSE while using nodejs?

前端 未结 30 3710
执念已碎
执念已碎 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:52

    Just a head's up, Skype will sometimes listen on port 80 and therefore cause this error if you try to listen on port 80 from Node.js or any other app.

    You can turn off that behaviour in Skype by accessing the options and clicking Advanced -> Connection -> Use port 80 (Untick this)

    Turn off Skype port 80 usage

    P.S. After making that change, don't forget to restart Skype!

提交回复
热议问题