how to kill the port 8080 session in windows code example Example: how to stop port 8080 netstat -ano | findstr <Port Number>