38 references to ListenAnyIP
Certificate.Optional.Sample (1)
Program.cs (1)
33options.ListenAnyIP(5001, listenOptions =>
Http2SampleApp (3)
Program.cs (3)
32options.ListenAnyIP(basePort, listenOptions => 38options.ListenAnyIP(basePort + 1, listenOptions => 60options.ListenAnyIP(basePort + 5, listenOptions =>
Http3SampleApp (6)
Program.cs (6)
32options.ListenAnyIP(5000, listenOptions => 52options.ListenAnyIP(5002, listenOptions => 59options.ListenAnyIP(5003, listenOptions => 71options.ListenAnyIP(5004, listenOptions => 82options.ListenAnyIP(5005, listenOptions => 97options.ListenAnyIP(5006, listenOptions =>
Interop.FunctionalTests (9)
Http3\Http3TlsTests.cs (9)
35kestrelOptions.ListenAnyIP(0, listenOptions => 86kestrelOptions.ListenAnyIP(0, listenOptions => 128kestrelOptions.ListenAnyIP(0, listenOptions => 173kestrelOptions.ListenAnyIP(0, listenOptions => 227kestrelOptions.ListenAnyIP(0, listenOptions => 268kestrelOptions.ListenAnyIP(port, listenOptions => 298kestrelOptions.ListenAnyIP(0, listenOptions => 352serverOptions.ListenAnyIP(0, listenOptions => 454kestrelOptions.ListenAnyIP(0, listenOptions =>
InteropWebsite (1)
Program.cs (1)
51options.ListenAnyIP(0, listenOptions =>
Kestrel.SampleApp (2)
Startup.cs (2)
121options.ListenAnyIP(basePort + 4, listenOptions => 126options.ListenAnyIP(basePort + 5, listenOptions =>
Microsoft.AspNetCore.Server.Kestrel.Core (2)
KestrelConfigurationLoader.cs (1)
163Options.ListenAnyIP(port, configure);
KestrelServerOptions.cs (1)
552public void ListenAnyIP(int port) => ListenAnyIP(port, options => { });
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
KestrelServerOptionsTests.cs (1)
52options.ListenAnyIP(5000, opt =>
KestrelServerTests.cs (3)
453options.ListenAnyIP(5000, options => 484options.ListenAnyIP(0, options => 512options.ListenAnyIP(0, options =>
Microsoft.AspNetCore.Server.Kestrel.Tests (8)
HttpsConfigurationTests.cs (2)
195serverOptions.ListenAnyIP(0, listenOptions => 218serverOptions.ListenAnyIP(0, listenOptions =>
KestrelConfigurationLoaderTests.cs (6)
437serverOptions.ListenAnyIP(4545, listenOptions => 479serverOptions.ListenAnyIP(4545, listenOptions => 523serverOptions.ListenAnyIP(4545, listenOptions => 1084serverOptions.ListenAnyIP(0, opt => 1199serverOptions.ListenAnyIP(0, opt => 1334serverOptions.ListenAnyIP(0, opt =>
Negotiate.Server (2)
Program.cs (2)
33options.ListenAnyIP(5001, listenOptions => listenOptions.UseHttps()); 38options.ListenAnyIP(5003, listenOptions => listenOptions.UseHttps());