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