How to fix Error: listen EADDRINUSE while using nodejs?

前端 未结 30 3802
执念已碎
执念已碎 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 07:11

    There is a way to terminate the process using Task Manager:

    Note that this solution is for Windows only

    1. Go to the Task Manager (or using the shortcut Ctrl + Shift + Esc)

    2. On "Background Processes", find "Node.js" processes and terminate them (Right-click them and choose "End Task")

    1. Now you should be able to start again

提交回复
热议问题