find used port code example
Example 1: check which application is using port
In Windows CMD/Powershell:
netstat -aon | findstr '[port_number]'
Example 2: find which service is using port
netstat -aon | findstr<port_number>
tasklist | findstr 9260