portqry -n 192.168.1.10 -p tcp -r 135:139
When querying UDP 1434 (SQL Browser Service), PortQry will actually list all SQL instances running on that server and their respective TCP ports. 3. Scanning Port Ranges portqry examples
If FILTERED , the firewall is blocking RPC dynamic ports. portqry -n 192
This checks ports 80 through 85.