MSExchangeGuru.com

Learn Exchange the Guru way !!!

 

Configuring Static Ports for Exchange 2010

Let’s take a look on how to configure static port for Exchange 2010 Environment

Static ports are mostly recommended for Hardware Load Balancing environment, if you do not have one it’s better to go with the default ports as we will face issues troubleshooting issues with static ports. This can be configured on Windows 2008 R2 & up.

Let’s see how to configure the following static ports:

RPC Client Access Service (CAS) – TCP/IP Port – 60300

Address Book Service     (CAS) – RPCTCP Port – 60301

Public Folder Connections (MBX) – TCP/IP Port – 60300

CAS SERVER (RPC Client Access Service)

=> Open Registry Editor.

=> Navigate to the following location: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/MSExchangeRPC

=> Create a new key named ParametersSystem

=> Under this key we created (ParametersSystem) Create a REG_DWORD => with the name: TCP/IP Port.

=> Add the port number 60300 as value for the key TCP/IP Port.

=> Open Exchange Management Shell & run the command “Restart-Service MSExchangeRPC” to restart the RPC service.

 

This will be the final registry path for your reference: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesMSExchangeRPCParametersSystem

TCPIP Port is a key under ParametersSystem.

CAS SERVER (Exchange 2010 Address Book Service)

=> Open Registry Editor.

=> Navigate to the following location: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/MSExchangeAB/Parameters

=> If don’t have the key “Parameters“, create one.

=> Create a new String Value called “RpcTcpPort” under Parameters key.

=> Set the value to 60301.

=> Open Exchange Management Shell & run the command “Restart-Service MSExchangeAB” to restart the MsExchangeAB service.

MAILBOX SERVER (Exchange 2010 Public Folder connections)

=> Open Registry Editor.

=> Navigate to the following location: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/MSExchangeRPC

=> Create a new key named ParametersSystem

=> Under this key we created (ParametersSystem) Create a REG_DWORD => with the name: TCP/IP Port.

=> Add the port number 60300 as value for the key TCP/IP Port.

Open Exchange Management Shell & run the command “Restart-Service MSExchangeRPC” to restart the RPC service.

This will be the final registry path for your reference: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesMSExchangeRPCParametersSystem

TCPIP Port is a key under ParametersSystem.

Here’s few steps to test the port assignment:

=> Run netstat -an -p tcp on a command prompt / shell

=> You can see the ports we configured as listening.

=> Run this o CAS, MBX & User’s workstation.

Ratish Nair

Microsoft MVP | Exchange Server

Team @MSExchangeGuru.com

Leave a Reply

Categories

Archives

MSExchangeGuru.com