fbpx
25 C
Lahore

How to kill a port in Windows OS ? – SOLVED

Must read

Ayyaz Zafarhttps://www.ayyaztech.com
I am Full Stack Web Developer with 10 years of professional Experience. I have following Skills: HTML5, CSS3, Javascript, jQuery, Ajax, PHP, MySQL, jQuery, Angular, React.js, Wordpress, Codeigniter, Laravel, Node.js, Mongo DB, Express.js, GraphQL, Typescript, Apollo and many more..

Run command-line as an Administrator

netstat -ano | findstr :<yourPortNumber>

This would show you a list like this:

In above screenshot you can see a row with word “LISTENING” and id 22344

Copy that id and run following command to kill that process id:

taskkill /PID <typeyourPIDhere> /F

No port is killed successfuly.

- Advertisement -spot_img

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article