Portqry Examples 📢
-v reveals:
portqry -n 192.168.1.50 -e 80
Response includes instance names and TCP ports. No other tool does this natively. portqry examples
portqry -local -p <protocol> -port <start port>-<end port>
portqry -n sqlserver -p udp -e 1434 -o
TCP port 80 (http) is LISTENING
PortQry includes built-in "logic" to check multiple ports associated with specific server roles. portqry -n ://contoso.com -p both -o 389,445,636 Use code with caution. (Checks LDAP and SMB ports simultaneously). Troubleshoot SQL Server: portqry -n sql-srv01 -p udp -e 1434 Use code with caution. -v reveals: portqry -n 192
To scan a range of ports, use the following command: