How to kill a node process in Mac and Windows

I was recently setting up a react project and was getting error saying port in use. And unlike in mac , needed few more commands to make it work in windows. So when you want to kill a port, first it helps to find out which app is using it. Find the PID number and …