how to stop my localhost always running on 8080 port code example Example: stop localhost server netstat -ano | findstr :yourPortNumber tskill typeyourPIDhere