Verify correct port range is used by RPC Client Access or the Exchange Address Book Service

[This topic is intended to address a specific issue called out by the Exchange Server Analyzer Tool. You should apply it only to systems that have had the Exchange Server Analyzer Tool run against them and are experiencing that specific issue. The Exchange Server Analyzer Tool, available as a free download, remotely collects configuration data from each server in the topology and automatically analyzes the data. The resulting report details important configuration issues, potential problems, and nondefault product settings. By following these recommendations, you can achieve better performance, scalability, reliability, and uptime. For more information about the tool or to download the latest versions, see "Microsoft Exchange Analyzers" at https://go.microsoft.com/fwlink/?linkid=34707.]  

Topic Last Modified: 2011-03-16

The Microsoft Exchange Server Best Practices Analyzer Tool reads the following registry entries to determine whether a static TCP/IP port that is used by the RPC Client Access or by the Exchange Address Book Service has been configured:

  • HKLM\System\CCS\Services\MSExchangeAB\Parameters\TCP/IP Port

  • HKLM\System\CCS\Services\MSExchangeAB\Parameters\RpcTcpPort

  • HKLM\System\CCS\Services\MSExchangeAB\Parameters\NspiHttpPort

  • HKLM\System\CCS\Services\MSExchangeAB\Parameters\RfrHttpPort

The following entries for MSExchangeRPC provide the checks that are described as follows:

  • If ‘TCP/IP Port’ is set within the port range 1024-65535, but outside of port range 59531-60554, you receive a message stating that this range is recommended.

  • If ‘TCP/IP Port’ is set, and is lower than 1024 or higher than 65535, set an Error saying this configuration is bad.

The following entries for Address Book Service provide the checks that are described as follows:

  • If ‘RpcTcpPort’ is set within 1024-65535, but outside of 59531-60554, fire a BestPractice event saying we recommend this range.

  • If ‘RpcTcpPort’ is set, and is lower than 1024 (except for 0) or higher than 65535, set an Error saying this configuration is bad.

  • If 'NspiHttpPort' is set and not equal to 6004, throw an error

  • If 'RfrHttpPort' is set and not equal to 6002, throw an error

The following entries for both MSExchangeRPC and Address Book Service provide the checks that are described as follows:

  • If ‘TCP/IP Port’ and ‘RpcTcpPort’ are set, we should throw an Error if they are the same value.

If the Exchange Server Best Practices Analyzer finds that the port range for an entry is not correct, you receive an error message.

To resolve this issue, add the correct value to the registry entry that does not have the correct port range.