SEARCH BY

All

  • All
  • Java8
  • Spring

How to stop single node process in windows?

Post a Comment

One way is stop single node process in Windows Find all process ids for a given port listening.


netstat -ano | find "LISTENING" | find "4100"

It lists out all process ids for given port 4100


  TCP    0.0.0.0:4100           0.0.0.0:0              LISTENING       17846


you can kill the process using the taskkill command


taskkill /pid 17846

use the /f option for killing a single process forcefully.


taskkill /f /pid 17846

The second way, kill all node process in Windows


You need to kill this file using the below command taskkill is a command to kill in process in Windows


taskkill /im node.exe

use /f option to kill it forcefully


taskkill /im /f node.exe

This stops and kill all node process in windows.

jaya
I love software designing, coding, writing and teaching...

Share this article

Related Posts

Post a Comment

Place your code in <em> </em> tags to send in comments | Do not add hyper links in commnet

Close

Subscribe our newsletter for the latest articles directly into your email inbox