how to shutdown all localhost port 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