Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MSDTC - how many ports are needed

I have a considerably large application that uses MSDTC. How many ports should I open? Is there any way to determine it?

EDIT: I know what ports I need to open, I don't know how many I need.

like image 270
Migol Avatar asked Mar 23 '09 15:03

Migol


2 Answers

I think Migol wants to know how big the range of the RPC dynamic port allocation should be.

In the KB they mention a minimum of 100 ports

Furthermore, previous experience shows that a minimum of 100 ports should be opened, because several system services rely on these RPC ports to communicate with each other.

So I would design a benchmark application to test different values of your dynamic range.

like image 103
Davy Landman Avatar answered Sep 20 '22 18:09

Davy Landman


When we've had to do this kind of debugging this article has been especially useful: How to troubleshoot MS DTC firewall issues. It includes an app called DTCPing which helps you to rapidly debug what the problem is.

As far as I remember the following ports were used:

TCP Port 1433 (Default port used by SQL Server)

UDP Port 1434 (Used by SQL Server)

TCP Port 3372 (Used by MSDTC.EXE)

like image 39
Duncan Edwards Avatar answered Sep 17 '22 18:09

Duncan Edwards