AyyazTech

How to kill a port in mac, Linux or windows? – Solved

2 days ago
How to kill a port in mac, Linux or windows? – Solved

There are several approaches to kill a port. I found a command that is very simple and easy to remember that works in any operating system.

All you need is to have npm installed on your computer.

If npm is installed on your computer already then just run following command:

1Loading...

If you want to kill multiple ports then you can use following commands:

1Loading...