check service using port windows code example
Example 1: find out process using port windows
netstat -ano | findstr 8080
Example 2: find which service is using port
netstat -aon | findstr<port_number>
tasklist | findstr 9260
Example 3: cmd listening ports
C:\> netstat -a -b