Windows

How to kill process in windows using port number

Kill process in Windows :

We can kill the process by using a port in below two steps.

Step 1:

Get the process id using port number by firing below command.

C:\> netstat -ano | findstr :YourPortNumber
Kill port in windows

Step 2 :

Kill the process using PID by firing below command.

C:\> taskkill /PID enterPID /F
Kill Port in windows

Happy Learning :)

Found a mistake or something out of date? Tell us →

Written by

chandrashekhar

Founder of onlinetutorialspoint.com. Enterprise architect with 15+ years in healthcare technology, designing and running systems on AWS and Azure. Writes about building real things with AI, local AI hardware and cloud certifications.

Keep reading

Ask a question or leave a comment