Monday, February 28, 2022

Killing process using command prompt in windows machine

Let say you are getting port 9061 already acquired and not able run your services, then kill the process which is using the port. 
Run the below command to get the process id,
 1. netstat -ano | findstr :9061 

Let say you get 8544 as PID then run the below command to kill it.
2. Replace the PID - taskkill /PID <<PID>> /F 

ex - taskkill /PID 8544 /F

No comments:

Post a Comment