Tip
Subject Content

55
Query ports on remote computers with PortQry

Although applications that scan for open TCP/IP ports on remote machines are common hacker

tools, you can use these applications to help you troubleshoot TCP/IP connectivity issues.



Like other port scanners, Microsoft's PortQry.exe queries the ports on remote computers and

reports on their status. The remote port can have a status of one of these three options:



Listening: This means the port is open and a process is listening.

Not Listening: This means that no process is listening on the remote port.

Filtered: This means that there is no response from that port. A process may or may not be

listening on that port.



PortQry.exe is a command-line port scanner that accepts the commands through command-line

parameters and switches. For instance, to scan ports from 1 to 1024 on a computer with an IP

address of 192.168.0.1, you'd type:



Portqry -n 192.168.0.1 -r 1:1024



For more information about the port scanner and to download PortQry.exe, read the Knowledge

Base article Q310099.

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q310099&

Page 55 of 237
First Previous Next Last