Portqry Command

: No process is listening on the port, or a "reset" (ACK-RST) was received.

Mastering the PortQry Command: A Comprehensive Guide to Network Troubleshooting

12 Feb 2026 — PortQry is a command-line tool that you can use to help troubleshoot TCP/IP connectivity issues. Microsoft Learn RPC error troubleshooting guidance - Windows Client portqry command

For users who prefer a visual interface over the command line, Microsoft offers PortQryUI . This tool allows you to:

# Test single TCP port Test-NetConnection -ComputerName server01 -Port 3389 : No process is listening on the port,

TCP port 1433 (ms-sql-s service): LISTENING TCP port 1434 (ms-sql-m service): FILTERED

portqry -n server01.example.com -o 3389,445,53 This tool allows you to: # Test single

| Parameter | Description | | :--- | :--- | | -n | (Required). The IP address or hostname of the remote computer. | | -e | Endpoint . Specifies a single port to scan (e.g., -e 80 ). | | -r | Range . Scans a range of ports (e.g., -r 1:100 ). | | -p | Protocol . Specifies the protocol to use: tcp , udp , or both . (Default is tcp ). | | -o | Order . Scans a specific list of ports (e.g., -o 80,443,3389 ). | | -l | Log file . Saves the output to a text file. | | -q | Quiet mode . Returns only output to the screen (or log file) without verbose headers. | | -sn | Skip Name Resolution . Skips looking up the IP address from the hostname. | | -cn | Community Name . Specifies the SNMP community name (default is "public"). |