請教大家
使用下列語法
Test-Dtc -LocalcomputerName "$env:COMPUTERNAME" -Verbose
會出現下列訊息
Warning: ":Firewall rule for "RPC Endpoint Mapper" is disabled. This computer cannot participate in network transactions.
Warning: ":Firewall rule for "DTC incoming connections" is disabled.This computer cannot participate in network transactions."
Warning:": Firewall rule for "DTC outgoing connetions" is disabled.This computer cannot participate in network transactions.
VERBOSE: Mserver01: AuthenticationLevel: NoAuth
VERBOSE: Mserver01: InboundTransactionsEnabled: True
VERBOSE: Mserver01: OutboundTransactionsEnabled: True
..............
但是我server端的防火牆都停用了,怎麼還會有此訊息呢?
您好,參考M$官網
https://docs.microsoft.com/en-us/powershell/module/msdtc/test-dtc?view=win10-ps
裡面有提到,下面這句,是否已"啟用"相關的防火牆規則.
Checks whether the required firewall rules are enabled.
1.啟用防火牆.
2.在"允許應用程式通過防火牆"-->打勾 "分散式交易協調器"