MSDTC - how many ports are needed

后端 未结 2 969
鱼传尺愫
鱼传尺愫 2021-02-07 16:06

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

相关标签:
2条回答
  • 2021-02-07 16:17

    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.

    0 讨论(0)
  • 2021-02-07 16:38

    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)

    0 讨论(0)
提交回复
热议问题