How to Configure the RPC Proxy Server to Use Specified Ports for RPC over HTTP


Topic Last Modified: 2007-03-07

This topic explains how to configure the RPC proxy server to use specified ports for RPC over HTTP.

You can also use the Rpccfg tool to set and troubleshoot port assignments. The Rpccfg tool is included in the Windows Server 2003 Resource Kit Tools.

After you configure the RPC over HTTP networking component for Internet Information Services, configure the RPC proxy server. Configure the RPC proxy server to use specific ports to communicate with the directory service and with the information store on the Exchange computer.

For information about configuring all your global catalogs to use specific ports for RPC over HTTP for directory services, see How to Set the NTDS Port on a Global Catalog Server Acting as an Exchange Server 2003 Back-End Server.

Verify the registry values automatically set for the Exchange ports mentioned below. When you run Exchange Server 2003 Setup, Exchange is configured to use the ports in the following table.


Server Port Service

Exchange Server (Global Catalog)









The three registry values that follow are automatically configured by Exchange Server 2003 Setup. Although you do not have to configure these registry values, you might want to verify that these registry values are configured correctly.


Value name: Rpc/HTTP Port

Value type: REG_DWORD

Value data: 0x1771 (Decimal 6001)


Value name: HTTP Port

Value type: REG_DWORD

Value data: 0x1772 (Decimal 6002)


Value name: Rpc/HTTP NSPI Port

Value type: REG_DWORD

Value data: 0x1774 (Decimal 6004)

Do not modify these registry values. If you modify these registry values, RPC over HTTP may not function correctly.

To configure the RPC proxy server to use specific ports, follow the steps below. The following steps contain information about editing the registry.

Incorrectly editing the registry can cause serious problems that may require you to reinstall your operating system. Problems resulting from editing the registry incorrectly may not be able to be resolved. Before editing the registry, back up any valuable data.

  1. On the RPC proxy server, start Registry Editor (Regedit).

  2. In the console tree, locate the following registry key:


  3. In the details pane, right-click the ValidPorts subkey, and then click Modify.

  4. In Edit String, in the Value data box, type the following information:


    • ExchangeServer is the NetBIOS name of your Exchange server.

    • ExchangeServerFQDN is the fully qualified domain name (FQDN) of your Exchange server. If the FQDN that is used to access the server from the Internet differs from the internal FQDN, you must use the internal FQDN.

    To determine the NetBIOS name and the fully qualified domain name of your server, start a command prompt, type ipconfig /all, and then press ENTER. Under Windows IP Configuration, information that is similar to the following appears:

    Host Name .................: mycomputer Primary DNS Suffix ........:

    The host name is the NetBIOS name of your computer. The host name together with the primary DNS suffix is the fully qualified domain name of your computer. In this example, the fully qualified domain name is


Community Additions