Serwer HTTP nie może utworzyć gniazda połączenia głównego

Microsoft.Windows.InternetInformationServices.6.2.HTTP.Server.could.not.create.the.main.connection.socket (Rule)

Knowledge Base article:

Podsumowanie

W celu prawidłowego wykonywania zadań usługa publikowania w sieci World Wide Web (W3SVC) wchodząca w skład internetowych usług informacyjnych (IIS) nie może zawierać żadnych błędów wejścia/wyjścia dotyczących dostępu do plików, dostępności pamięci ani połączeń sieciowych. Dodatkowo wszystkie używane skrypty muszą być dostępne i uruchomione, a wszystkie pliki załączane muszą być prawidłowo skonfigurowane.

Rozwiązania

Sprawdź błąd połączenia

Aby rozwiązać problem z połączeniem, w komunikacie dziennika zdarzeń sprawdź numer konkretnego błędu. Ten numer błędu będzie inny niż numer znajdujący się w identyfikatorze zdarzenia. W tym celu należy wykonać następujące czynności.

Sprawdź numer konkretnego błędu

Aby znaleźć numer konkretnego błędu:

Dowiedz się więcej na temat konkretnego numeru błędu

Aby dowiedzieć się więcej o konkretnym numerze błędu:

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebServer
CategoryAlert
EnabledTrue
Event_ID2206
Event SourceMicrosoft-Windows-IIS-W3SVC-WP
Alert GenerateFalse
RemotableTrue
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
WA WriteAction Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.HTTP.Server.could.not.create.the.main.connection.socket" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-IIS-W3SVC-WP</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>2206</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.6.2.HTTP.Server.could.not.create.the.main.connection.socket.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>