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