Le serveur HTTP n'a pas pu créer le socket de connexion principal

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

Knowledge Base article:

Résumé

Afin de réaliser correctement ses activités, le service de publication World Wide Web (W3SVC) IIS (Internet Information Services) ne doit contenir aucune erreur E/S impliquant l'accès aux fichiers, la disponibilité de la mémoire et les connexions réseau. En outre, tous les scripts utilisés doivent être accessibles et en cours d'exécution, et tous les fichiers d'inclusion doivent être correctement configurés.

Résolutions

Examiner un échec de connexion

Pour résoudre ce problème de connexion, dans le message du journal des événements, recherchez un numéro d'erreur spécifique. Ce numéro d'erreur diffère de l'ID d'événement. Pour ce faire, procédez comme suit.

Rechercher un numéro d'erreur spécifique

Pour rechercher un numéro d'erreur spécifique :

En savoir plus sur un numéro d'erreur spécifique

Pour en savoir plus sur un numéro d'erreur spécifique :

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.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.10.0.GenerateAlertAction.SuppressedByDescription Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.10.0.HTTP.Server.could.not.create.the.main.connection.socket" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.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.10.0.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.HTTP.Server.could.not.create.the.main.connection.socket.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>