stop http://localhost:8080/ working in windows 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