how to prevent using port 8080 in link code example Example: stop localhost server netstat -ano | findstr :yourPortNumber tskill typeyourPIDhere