輸入內容下載要求的防火牆規則狀態

Microsoft.Windows.BranchCache.HostedCacheClient.Monitor.Firewall.Download (UnitMonitor)

這個物件會驗證 TCP Port 80 上的輸入下載要求的 Windows 防火牆設定,如果不允許此流量,則會產生重大健全狀態。

Knowledge Base article:

摘要

此監視器會確認 Windows 防火牆已設為在 TCP 連接埠 80 上接受輸入的下載要求,讓網路上的其他電腦 (包括託管快取伺服器) 能透過此電腦擷取內容。

原因

如果防火牆封鎖 TCP 連接埠 80 上的輸入流量,可能是系統管理員或另一個程序已修改防火牆規則。

解決方式

重要! BranchCache 組態設定通常是使用群組原則設定。如果使用群組原則,請在 BranchCache 的 [群組原則] 設定中修正問題。只有未使用群組原則時,下列解決步驟才有效,因為群組原則設定通常會覆寫這些手動設定。

若要確認目前的設定,請按一下下列工作:

顯示 BranchCache 狀態

若要建立在 TCP 連接埠 80 上允許輸入流量的 Windows 防火牆規則,請按一下下列工作:修正託管快取用戶端設定

您也可以利用系統管理權限來開啟 [命令提示字元] 視窗,並執行 netsh branchcache 內容中的 set service hostedclient 命令,來自動建立必要的 Windows 防火牆規則。

如需 netsh branchcache 內容的詳細資訊,請參閱 Microsoft TechNet 上的 Windows Server 2008 R2 中 BranchCache 的 Netsh 命令 (英文)。

如果使用另一個防火牆程式,請修改防火牆設定,以允許 TCP 連接埠 80 上的輸入流量。

Element properties:

TargetMicrosoft.Windows.BranchCache.HostedCacheClientNode
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.BranchCache.HostedCacheClient.Monitor.Firewall.Download" Accessibility="Public" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.BranchCache.HostedCacheClientNode" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Error"/>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Property[Type="Microsoft.Windows.BranchCache.ClientSideServiceBase"]/NodeName$</ComputerName>
<LogName>Microsoft-Windows-BranchCache/Operational</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">8</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-BranchCache</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>