Exchange 2003 2007 

Exchange Articles, News and Discussions
Welcome to Exchange 2003 2007  Sign in | Join | Help
in Search

Using PortQry to troubleshoot Exchange rpc connection issues


In today’s secure corporate WAN networks one common issue I see on a regular basis is Exchange connected Outlook clients not working because of corporate firewall changes or misconfiguration.

 

Properly the quickest way to check if a firewall is blocking or filtering rcp traffic between you outlook client and an exchange server is to use the PortQry.exe tool. This Windows Server Support tool sends packets to specified ports and looks to see if that port has been blocked (filtered).

 

To begin install the Server Support tools from your Windows Server CD for your version of Windows Server once installed, or download the new version PortQry version 2 from the following location.

PortQry Version 2 Download


 

If you are a GUI type person you can also download the PortQueryUI tool from the below location

PortQueryUI PortQry GUI Download location


 

Using the PortQry or PortQueryUI tool returns the below values depending on the state or filtered state of the destination servers port

 

Listening                             Some Process is running on the port you have queried

Not Listening                     No process is running on the port you have queried      

Filtered                                                The port queried has been blocked (filtered)

 

To use PortQry to check for filtered rpc ports we first need to understand how rpc works, firstly an initial connection is made over port 135 after which a random port between 1024 and 65535 is negotiated for the main communication.

 

If you were issuing checking a standard ports status you would run the following command from the command prompt:

 

portqry -n ServerName -e 135

 

 Using PortQry to troubleshoot Exchange connection issues

Figure 1 "Output from PortQry Tool"

 

It is most likely that port 135 will be listening and not filtered, but one of the endpoints  between 1024 and 65535 are blocked, so now you need to check the output above taking note of each of the endpoint ports, after this you can use portqry again using the -o switch to specify each of the individual endpoint ports.

 

portqry -n ServerName -o 1117,1118,6001 

 

Once you have ran the above command the status of each of ports will be listed, either Listening, Not listening or Filtered. If any of the ports are listed as Filtered then it fairly much rules out a Windows and/or Exchange service issue, and is something you can take to your Network/WAN specialists to fix for you.

Related Articles

WindowsIS.com

   What is the Vista Network Location Feature?

ExchangeIS.com

   Using ADModify - A real world example

   Using ADSIEdit - A Real World Example

Why not Become a member of Exchange Information Store and participate in our forums

 

Published Monday, January 07, 2008 10:56 PM by ben.hoffman

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

ExchangeIS : Using PortQry to troubleshoot Exchange rpc connection issues said:

January 7, 2008 11:56 PM
 

WindowsIS said:

Windows Server 2008 Active Directory Domain Services ADDS Setup walkthrough: The release of Windows Server 2008 has brought about some new options when promoting a server to be a Domain Controller. This article will step you though these advanced options

March 18, 2008 8:19 AM
 

WindowsIS said:

The release of Windows Server 2008 has introduced many new features; one of the most interesting features from a security perspective is the ability to promote a Domain Controller as a Read Only Domain Controller RODC.

April 14, 2008 9:35 AM
 

WindowsIS said:

Windows Server 2008 Features: Windows Server 2008 ships with many new features and improvements that takes Windows Server to a new level making it the most flexible and feature rich server platforms on the planet.

April 18, 2008 6:47 AM
 

NetMoneyFAQ said:

In the beginning blogging & internet marketing of websites can be a hard slog, putting in hours and not getting the readership and rewards you aspire to, which is why I decided to share with the blogging universe a few of the secrets that over time has

April 20, 2008 10:04 AM
 

feedNetMoney said:

In the beginning blogging & internet marketing of websites can be a hard slog, putting in hours and

April 20, 2008 1:07 PM
 

derol said:

If you like it and want more I would recommend you to visit http://newfileengine.com/

There you can find everything- I did!

November 12, 2008 2:21 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit

This Blog

Syndication

News

About ExchangeIS


<script type="text/javascript" src="http://technorati.com/embed/zmyi3iatks.js"> </script>

ExchangeIS Privacy Policy Powered by Community Server (Commercial Edition), by Telligent Systems