XCON: Configuring MTA TCP/IP Port # for X.400 and RPC Listens

This article was previously published under Q161931
This article has been archived. It is offered "as is" and will no longer be updated.
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
The message transfer agent (MTA) in Exchange Server version 4.0 Service Pack 4 (SP4), 5.0, and 5.5, and Exchange 2000 Server in mixed mode contains two featuresthat allow you to configure the MTA to use different Transmission Control Protocol/Internet Protocol (TCP/IP) port numbersfor X.400 Connectors and for remote procedure call (RPC) listening.

NOTE: The information in this article only applies to Exchange 2000 in mixed mode. If Exchange 2000 is running in native mode, this information does not apply.
More information
By default, the Exchange Server MTA uses TCP/IP port 102 tocommunicate with other X.400 MTAs. For example, if two Exchange Serversites are connected by an X.400 Connector with a TCP/IP MTA stack, bothMTAs communicate over port 102 by default. However, you can configure this port number if you add the following registry value:
RFC1006 Port Number
This case-sensitive registry value is a DWORD value type, and does not exist bydefault. To add the registry value:

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.
  1. Start Registry Editor (Regedt32.exe).
  2. Locate the following key in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeMTA\Parameters
  3. On the Edit menu, click Add Value, and then add the following case-sensitive registry value:
    Value Name: RFC1006 Port Number
    Data Type: REG_DWORD
    Value: The decimal value for the port that you want to use.
  4. Quit Registry Editor.
If the RFC1006 Port Number registry value does not exist in theregistry, the Exchange Server MTA assumes a value of 102 for thissetting, and expects all X.400 MTA communication to occur overport 102 when you use a TCP/IP MTA stack. All MTAs that communicate witheach other over X.400 need to use the same TCP/IP port number.

An additional registry setting allows you to configure the MTA tolisten to RPCs on a specific port number. You donot need to configure all of the Exchange Server MTAs to listenfor RPC communication on the same port. RPC communication relies on theend-point mapper to relay the appropriate port number, so that furthercommunication can then be achieved by going directly to the portnumber that the end-point mapper reports for a specific server. You can examine thisbehavior by using a network sniffer such as NetworkMonitor to monitor the RPC communication between two MTAs.

The following registry value determines the TCP/IP port that a given MTA uses to listen for RPC communication:
TCP/IP port for RPC listens
This case-sensitive registry value is a DWORD value-type and does not exist bydefault. To add the registry value:

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.
  1. Start Registry Editor (Regedt32.exe).
  2. Locate the following key in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeMTA\Parameters
  3. On the Edit menu, click Add Value, and then add the following case-sensitive registry value:
    Value Name: TCP/IP port for RPC listens
    Data Type: REG_DWORD
    Value: The decimal value for the port that you want to use.
  4. Quit Registry Editor.
The MTA does not read either of these two registry values dynamically.Therefore, after you make a change to one of these registry settings, you must stop and restartthe MTA before the change takes effect.

For additional information about the ramifications and guidelines for staticport 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
These two features are available in Exchange Server version 4.0Service Pack 4 and in Exchange Server version 5.0.
firewall
Properties

Article ID: 161931 - Last Review: 10/26/2013 02:54:00 - Revision: 4.0

Microsoft Exchange Server 5.0 Standard Edition, Microsoft Exchange Server 5.5 Standard Edition, Microsoft Exchange 2000 Server Standard Edition

  • kbnosurvey kbarchive kbbug kbfix KB161931
Feedback