how to stop a process running on local host through cmd code example
Example 1: kill local host bash
npx kill-port 8080
Example 2: stop localhost server
netstat -ano | findstr :yourPortNumber
tskill typeyourPIDhere
npx kill-port 8080
netstat -ano | findstr :yourPortNumber
tskill typeyourPIDhere