Monday, February 25, 2013

Configuring Static Ports for Exchange 2010 SP1 and up….

We will configure Static port assignment for Exchange 2010 environment , in this example all Messaging Servers are SP1 running on Win2008 R2 and up. Static port assignment is recommended on most of the HLB deployments otherwise default behavior random ports may cause inconvenience  or may make the troubleshooting more difficult. Remember in Exchange 2013 RPC is no longer running over TCP/135 it is wrapped into HTTP packets we will get back to this and capture some of the Netstat statistic later on.

image

image

 

CAS SERVER & SERVERS (***RPC Client Access Service ***)

image

Open Register editor and drill down to below register key

  • HKEY_LOCAL_MACHINE
  • SYSTEM
  • CurrentControlSet
  • Services
  • MSExchangeRPC

***TCP/IP Port = 60300 ***

Create a new key named ParametersSystem & Under this KEY-> Create a REG_DWORD named TCP/IP Port

***MS Recommendation is to  set the port number in between  59531 and 60554 and use the same port  on all CAS Servers. I have chosen fallowing port numbers for each corresponding services,  change them as you wish to fit into your own preference***

image

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchangeRPC\ParametersSystem

***Re-Start Manages client RPC connections for Exchange Service on CAS Server***

Restart-Service MSExchangeRPC

image

 

CAS SERVER & SERVERS (***Exchange 2010 Address Book Service***)

image

  • HKEY_LOCAL_MACHINE
  • SYSTEM
  • CurrentControlSet
  • Services
  • MSExchangeAB

***RpcTcpPort =60301***

Create a new String Value called  “RpcTcpPort”  Data Value 60301

image

image

***Re-Start Microsoft Exchange Address Book Service on the CAS Server*

Restart-Service MSExchangeAB

image

 

Exchange 2010 Public Folder Connections ( on the MBX Server & Servers )

image

  • HKEY_LOCAL_MACHINE
  • SYSTEM
  • CurrentControlSet
  • Services
  • MSExchangeRPC

Create a new key named ParametersSystem & Under this KEY-> Create a REG_DWORD named TCP/IP Port

TCP/IP Port = 60300

image

 

 

Here are the .reg files you can download them and run them on your CAS and MBX servers ( windows 2008 R2)

image

https://skydrive.live.com/redir?resid=1C8A0DB5C88AB3D2!2369

HOW TO VERIFY STATIC PORT ASSIGNMENT

netstat -an -p tcp

CAS SERVER

image

MBX SERVER

image

MAPI CLIENT ( outlook user workstation)

image

Script to configure ports

http://blogs.technet.com/b/bshukla/archive/2011/10/21/script-to-configure-static-ports-on-exchange-server-2010.aspx

Respectfully,
Oz Casey, Dedeal ( MVP north America)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
http://telnet25.wordpress.com/ (Blog

No comments: