how to know which process is running on a port in windows code example Example: find out process using port windows netstat -ano | findstr 8080