39 references to Loopback
aspire (1)
Certificates\CertificateGeneration\CertificateManager.cs (1)
809sanBuilder.AddIpAddress(IPAddress.Loopback);
Aspire.Dashboard.Tests (3)
Integration\DashboardClientAuthTests.cs (1)
92kestrelOptions.Listen(IPAddress.Loopback, port: 0, ConfigureListen);
Integration\MockOpenIdAuthority.cs (1)
31options.Listen(IPAddress.Loopback, 0);
Integration\ServerRetryHelper.cs (1)
167socket.Bind(new IPEndPoint(IPAddress.Loopback, port));
Aspire.Hosting (1)
Dashboard\DashboardServiceHost.cs (1)
150kestrelOptions.Listen(IPAddress.Loopback, port: 0, ConfigureListen);
dotnet-dev-certs (1)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (1)
812sanBuilder.AddIpAddress(IPAddress.Loopback);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (1)
812sanBuilder.AddIpAddress(IPAddress.Loopback);
Microsoft.AspNetCore.HttpOverrides (1)
DualIPNetworkList.cs (1)
27var loopback = new IPNetwork(IPAddress.Loopback, 8);
Microsoft.AspNetCore.Server.Kestrel.Core (3)
LocalhostListenOptions.cs (2)
21: base(new IPEndPoint(IPAddress.Loopback, port)) 44var v4Options = Clone(IPAddress.Loopback);
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (1)
812sanBuilder.AddIpAddress(IPAddress.Loopback);
Microsoft.AspNetCore.Testing (2)
ServiceFakesWebHostExtensions.cs (2)
36.UseKestrel(options => options.Listen(new IPEndPoint(IPAddress.Loopback, 0))); 53options.Listen(new IPEndPoint(IPAddress.Loopback, 0), listenOptions =>
Microsoft.Extensions.Diagnostics.Probes.Tests (2)
TcpEndpointProbesServiceTests.cs (2)
103tcpClient.Connect(new IPEndPoint(IPAddress.Loopback, port)); 123var listener = new TcpListener(IPAddress.Loopback, 0);
Microsoft.Extensions.ServiceDiscovery.Dns (2)
Resolver\DnsResolver.cs (2)
126res[index] = new AddressResult(DateTime.MaxValue, IPAddress.Loopback); 159return ValueTask.FromResult<AddressResult[]>([new AddressResult(DateTime.MaxValue, IPAddress.Loopback)]);
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (3)
Resolver\LoopbackDnsServer.cs (2)
23_dnsSocket.Bind(new IPEndPoint(IPAddress.Loopback, 0)); 80_tcpSocket.Bind(new IPEndPoint(IPAddress.Loopback, ((IPEndPoint)_dnsSocket.LocalEndPoint!).Port));
Resolver\ResolveAddressesTests.cs (1)
297responseBuilder.Answers.AddAddress(name, 3600, IPAddress.Loopback);
Microsoft.Extensions.ServiceDiscovery.Dns.Tests.Fuzzing (1)
Fuzzers\DnsResponseFuzzer.cs (1)
24Servers = [new IPEndPoint(IPAddress.Loopback, 53)],
Microsoft.Extensions.ServiceDiscovery.Tests (2)
ConfigurationServiceEndpointResolverTests.cs (2)
371Assert.Equal(new IPEndPoint(IPAddress.Loopback, 3333), initialResult.EndpointSource.Endpoints[1].EndPoint); 418Assert.Equal(new IPEndPoint(IPAddress.Loopback, 3333), initialResult.EndpointSource.Endpoints[1].EndPoint);
Microsoft.Extensions.ServiceDiscovery.Yarp.Tests (1)
YarpServiceDiscoveryTests.cs (1)
279new ServiceResult(DateTime.UtcNow.AddSeconds(60), 99, 62, 7777, "srv-c", [new AddressResult(DateTime.UtcNow.AddSeconds(64), IPAddress.Loopback)])
Microsoft.TestPlatform.CommunicationUtilities (5)
DataCollectionRequestHandler.cs (1)
160_communicationManager.SetupClientAsync(new IPEndPoint(IPAddress.Loopback, port));
DataCollectionRequestSender.cs (1)
59var endpoint = _communicationManager.HostServer(new IPEndPoint(IPAddress.Loopback, 0));
DataCollectionTestCaseEventHandler.cs (1)
53var endpoint = _communicationManager.HostServer(new IPEndPoint(IPAddress.Loopback, 0));
DataCollectionTestCaseEventSender.cs (1)
66_communicationManager.SetupClientAsync(new IPEndPoint(IPAddress.Loopback, port));
TcpClientExtensions.cs (1)
125: new IPEndPoint(IPAddress.Loopback, 0);
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (2)
VsTestConsoleRequestSender.cs (2)
93port = _communicationManager.HostServer(new IPEndPoint(IPAddress.Loopback, 0)).Port; 134port = _communicationManager.HostServer(new IPEndPoint(IPAddress.Loopback, 0)).Port;
Microsoft.VisualStudio.TestPlatform.Client (1)
DesignMode\DesignModeClient.cs (1)
119_communicationManager.SetupClientAsync(new IPEndPoint(IPAddress.Loopback, port));
RepoTasks (1)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (1)
812sanBuilder.AddIpAddress(IPAddress.Loopback);
System.Net.Primitives (1)
System\Net\IPAddress.cs (1)
578return ((address.PrivateAddress & LoopbackMask) == (Loopback.PrivateAddress & LoopbackMask));
System.ServiceModel.NetTcp (2)
System\ServiceModel\Channels\SocketConnection.cs (2)
885return new IPAddress[] { IPAddress.IPv6Loopback, IPAddress.Loopback }; 889return new IPAddress[] { IPAddress.Loopback };
testhost (1)
src\vstest\src\testhost.x86\DefaultEngineInvoker.cs (1)
260endpoint = IPAddress.Loopback + ":" + port;
testhost.arm64 (1)
src\vstest\src\testhost.x86\DefaultEngineInvoker.cs (1)
260endpoint = IPAddress.Loopback + ":" + port;
testhost.x86 (1)
DefaultEngineInvoker.cs (1)
260endpoint = IPAddress.Loopback + ":" + port;