Node js +Error: listen EADDRINUSE + Unhandled 'error' event

后端 未结 2 917
天命终不由人
天命终不由人 2021-02-14 03:47

I\'m using nodeclipse plugin for eclipse to run my node js project.Following js file is working properly but h1 tag is not working

2条回答
  •  北海茫月
    2021-02-14 04:47

    As Patrick has said Error: listen EADDRINUSE

    This error means that you already have another process listening on port 3000.

    If you used Nodeclipse to run Node.js application, you can see list of currently running apps in Debug View (shown by default in Node perspective). Then you can terminate selected or all, restart etc.

    Yes, Debug View does not includes only debugged apps. It should have been named Launch View, but it is standard View in Eclipse, we name it as it is named.

    Also running apps can be terminated individually by closing its Console (using red square icon)

提交回复
热议问题