stop localhost 8080 code example
Example 1: how to stop port 8080
netstat -ano | findstr <Port Number>
Example 2: stop localhost server
netstat -ano | findstr :yourPortNumber
tskill typeyourPIDhere
netstat -ano | findstr <Port Number>
netstat -ano | findstr :yourPortNumber
tskill typeyourPIDhere