9 references to ConnectionRefused
Microsoft.Extensions.Diagnostics.Probes.Tests (1)
TcpEndpointProbesServiceTests.cs (1)
109if (e.SocketErrorCode == SocketError.ConnectionRefused)
System.IO.Pipes (1)
System\IO\Pipes\NamedPipeClientStream.Unix.cs (1)
56case SocketError.ConnectionRefused:
System.Net.Ping (2)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
45{ Interop.Error.ECONNREFUSED, SocketError.ConnectionRefused }, 94{ SocketError.ConnectionRefused, Interop.Error.ECONNREFUSED },
System.Net.Primitives (2)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
45{ Interop.Error.ECONNREFUSED, SocketError.ConnectionRefused }, 94{ SocketError.ConnectionRefused, Interop.Error.ECONNREFUSED },
System.Net.Sockets (3)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
45{ Interop.Error.ECONNREFUSED, SocketError.ConnectionRefused }, 94{ SocketError.ConnectionRefused, Interop.Error.ECONNREFUSED },
System\Net\Sockets\SocketsTelemetry.cs (1)
246SocketError.ConnectionRefused => "connection_refused",