kill port 8080 server 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