how to stop the server on localhost 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