find what ports a process is using code example Example: find out process using port windows netstat -ano | findstr 8080