how to find pid of process using port code example Example: find out process using port windows netstat -ano | findstr 8080