get service using port code example Example: find which service is using port netstat -aon | findstr<port_number> tasklist | findstr 9260