PortQry – TCP/UDP port scanner from Microsoft

PortQry is a piece of software developed by Microsoft that is used to check ports on a computer network. And it can also be used to check whether a particular port on a host or machine is open, closed, or blocked by a firewall.

In addition, PortQry can also be used to check the network connection and find out if there is a problem with the network connection. PortQry is commonly used by network administrators to troubleshoot network connections and network security issues.

PortQry is a command-line utility for troubleshooting TCP/IP connectivity issues. This utility displays the status of the TCP destination port and User Datagram Protocol (UDP) on the local or remote computer and provides complete details about the port usage on the local machine.

Since PortQry is designed to be used as a debugging tool, users who use it to solve specific problems should be familiar with their working environment.

PortQry can be used in several modes:

  • Command line interface. This method can be used to repair a local or remote computer.
  • Local mode. In this mode, you can use a set of parameters to fix the local computer.
  • Mode of interaction. The command line mode is similar, but you can use keyboard shortcuts and arguments.

How to Install PortQry on Windows

PortQry is available in two versions, Command Line and GUI versions.

Install PortQry Command Line

  1. Download PortQry Command Line Port Scanner version 2.0
  2. Extract the downloaded file.
PortQry instal

Install PortQryUI

PortQryUI is a user interface for the PortQry command-line port scanner that includes a graphical UI. PortQryUI has several features that can make it easier to use PortQry.

  1. Download PortQryUI
  2. Extract the downloaded file.

How to Use the PortQry Command Line

PortQry, like other command-line utilities, can be started from a command prompt. In command-line mode, you can add many parameters to the command string to determine what query to run and how to run it.

  1. Open “Command Prompt” (CMD).
  2. Type the command:
portqry.exe -n [name_to_query]

name_to_query: IP address, computer name, or domain for the query

PortQry command line

To check the port on the local computer, you can use the command:

portqry -local
PortQry local

When troubleshooting computer connections, you may have to type many repetitive commands. The task can be made easier by using PortQry in live mode.

Interactive mode is identical to the interactive features found in DNS Nslookup and the WINS Nblookup utility.

Use the following command

portqry -i

by default, PortQry will use node 127.0.0.1. To change the node address, use the command:

n [name_to_query]

For example n 192.168.0.1

To run the command, type:

q
PortQry interactive

How to Use PortQryUI

PortQryUI is a GUI version of PortQry with a graphical display and some features make it easy to perform port scanning.

PortQryUI
  1. Run the file “portqueryui.exe”.
  2. Type the IP address or name of the target computer.
  3. Then select type query. You can use “Query predefined service” to scan for specific ports. There are 5 port options commonly used in “Networking, WEB service, Exchange Server, Netmeeting dan Miscellaneous”. You can also scan for other ports by selecting “Manual query”.
  4. Click the “Query” button to run the scan.

RELATED ARTICLES

Latest Articles