Microsoft KB Archive/148732

From BetaArchive Wiki
Knowledge Base


XADM: Setting TCP/IP Port Numbers for Internet Firewalls

PSS ID Number: 148732

Article Last Modified on 4/28/2005



The information in this article applies to:

  • Microsoft Exchange Server 4.0
  • Microsoft Exchange Server 5.0
  • Microsoft Exchange Server 5.5



This article was previously published under Q148732

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry


SUMMARY

This article explains how to configure the Microsoft Exchange Information Store, Directory, and System Attendant Services to use predefined TCP/IP port numbers. This is useful when configuring Internet firewalls or routers.

MORE INFORMATION

Some Internet firewalls may not accept TCP/IP port numbers that Microsoft Exchange Server uses for remote procedure call (RPC) communication. To solve this problem, you must permit Transmission Control Protocol (TCP) connections to be made on port 135 of your firewall, and then configure Exchange Server to use the ports that your firewall permits. The computer must be restarted for these changes to take effect.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.


To configure the RPC Port for the Microsoft Exchange Directory Service:

  1. Start Registry Editor (Regedt32.exe).
  2. Find the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeDS\Parameters

  3. Add the following registry value

    TCP/IP port

    as DWORD value, specifying the port to be used. The radix should be set to decimal when entering the value.
  4. Quit Registry Editor.

To configure the RPC Port for the Microsoft Exchange Information Store Service:

  1. Start Registry Editor (Regedt32.exe).
  2. Find the following subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem

  3. Add the following registry value

    TCP/IP port

    as DWORD value, specifying the port to be used. The radix should be set to decimal when entering the value.
  4. Quit Registry Editor.

To configure the RPC Port for the Microsoft Exchange System Attendant:

NOTE: In order to administer an Exchange Server across a firewall, the Microsoft Exchange System Attendant should be configured to use a specific RPC port as well.

  1. Start Registry Editor (Regedt32.exe).
  2. Find the following subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeSA\Parameters

  3. Add the following registry value

    TCP/IP port

    as DWORD value, specifying the port to be used. The radix should be set to decimal when entering the value.
  4. Quit Registry Editor.

NOTE: The DWORD value should be in decimal.

NOTE: You have to change this registry setting only on the computer that runs Microsoft Exchange Server. Clients always connect to port 135, the RPC endpoint mapper, and then ask what ports they should use for the Directory and Information Store Services.

WARNING: Do not assign ports immediately above the 1023 range. For additional information about the ramifications and guidelines for static port assignment of Exchange services, click the article number below to view the article in the Microsoft Knowledge Base:

180795 XADM: Intrasite Directory Replication Fails with Error 1720


For additional information Exchange Services for Internet Firewalls and port considerations, click the article numbers below to view the articles in the Microsoft Knowledge Base:

155831 XADM: Setting TCP/IP Ports for Exchange and Outlook Client Connections Through a Firewall


194952 XADM: Statically Mapped Port Limitations for Exchange Server



Additional query words: proxy map static port mapping

Keywords: kbhowto kbusage KB148732
Technology: kbExchange400 kbExchange500 kbExchange550 kbExchangeSearch kbZNotKeyword2