Node.js Port 3000 already in use but it actually isn't?

前端 未结 30 2143
闹比i
闹比i 2020-11-28 17:24

I have been working with a node.js project for a few weeks and it has been working great. Usually, I use npm start to run my app and view it in a browser on loc

30条回答
  •  执笔经年
    2020-11-28 17:50

    This happens to me sometimes, EADDR in use. Typically there is a terminal window hiding out in the background that is still running the app. You can stop process with ctrl+C in the terminal window.

    Or, perhaps you are listening to the port multiple times due to copy/pasta =)

提交回复
热议问题