A Quick Tip To Check If Ports Are Listening

by [Published on 9 Feb. 2011 / Last Updated on 18 Dec. 2009]

This article explains how can you check quickly if the ports are listening or blocked by the firewall.

Some of the Services listens on the ports to relay on the communications. These ports must be opened by the firewall for clients to have communication the Server Ports. There are three ways to check if the ports are listening or blocked:

  • Using PortQryUi.exe
  • Using PortQry - command line version
  • Using Rpcdump.exe

Using PortQryUI.exe: This tool is available for download from Microsoft site. This tool can be used to tell if a port on the destination host is blocked or opened.

Using PortQry - command line version: This tool is same as PortQryUI.exe except its a command line version.

Using RpcDump.exe: This tool is part of Resource Kit and can be used to tell if RPC range is opened or blocked for a particular remote computer. For example: you wan to check RPC Port Range on a domain controller. To do so, you run the following command:

RPCDump.exe /s FQDN OF Destination Domain Controller /v /i > C:\Output.txt


See Also

The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP and was awarded the Microsoft MVP award in Directory Services and Windows Networking. He specializes in Microsoft Azure, Office 365, Directory Services, Failover Clusters, Hyper-V, PowerShell Scripting and System Center products. Nirmal has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to PowerShell-based Dynamic Packs for www.ITDynamicPacks.Net solutions.

Featured Links