How to Configure the RPC Proxy Server to Use Specified Ports for RPC over HTTP
This topic explains how to configure the RPC proxy server to use specified ports for RPC over HTTP.
Note
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.
Before You Begin
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) |
6001 |
Store |
|
6002 |
DSReferral |
|
6004 |
DSProxy |
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.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
Value name: Rpc/HTTP Port
Value type: REG_DWORD
Value data: 0x1771 (Decimal 6001)
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Parameters
Value name: HTTP Port
Value type: REG_DWORD
Value data: 0x1772 (Decimal 6002)
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Parameters
Value name: Rpc/HTTP NSPI Port
Value type: REG_DWORD
Value data: 0x1774 (Decimal 6004)
Note
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.
Warning
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.
Procedure
To configure the RPC proxy server to use specified ports for RPC over HTTP
On the RPC proxy server, start Registry Editor (Regedit).
In the console tree, locate the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
In the details pane, right-click the ValidPorts subkey, and then click Modify.
In Edit String, in the Value data box, type the following information:
ExchangeServer**:6001-6002;ExchangeServerFQDN:6001-6002;ExchangeServer:6004;ExchangeServerFQDN:6004**
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 ........: contoso.com
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 mycomputer.contoso.com.
For More Information
For more information, see the following topics in the Exchange Server 2003 RPC over HTTP Guide: