MSDTC - how many ports are needed

孤人 提交于 2020-01-01 02:07:09

问题


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.


回答1:


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.




回答2:


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)



来源:https://stackoverflow.com/questions/673806/msdtc-how-many-ports-are-needed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!