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

前端 未结 30 2203
闹比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 18:06

    I had the same problem. (The below steps work fine on Windows 10):

    1. Open Task manager (press Ctrl+Alt+Delete)
    2. Select the 'Processes tab'
    3. Search for 'Node.js: Server-side JavaScript'
    4. Select it and click on 'End task' button

    Now you can run npm start.

    Hope it helps you.

提交回复
热议问题