diff --git a/src/Downloader.DummyHttpServer/HttpServer.cs b/src/Downloader.DummyHttpServer/HttpServer.cs index 9554381f..e2d73649 100644 --- a/src/Downloader.DummyHttpServer/HttpServer.cs +++ b/src/Downloader.DummyHttpServer/HttpServer.cs @@ -69,7 +69,7 @@ public static IWebHost CreateHostBuilder(int port) if (port > 0) { - host = host.UseUrls($"http://+:{port}"); + host = host.UseUrls($"http://localhost:{port}"); } return host.Build();