how to kill port in node js code example Example 1: kill all node processes Click to copykillall -s KILL node Example 2: node js kill port Click to copytaskkill /f /im node.exe