From 6bb374db998b9b0e930ba2a6c49ad8da945af607 Mon Sep 17 00:00:00 2001 From: bezzad Date: Sat, 18 Nov 2023 01:57:04 +0330 Subject: [PATCH] fixed listening address in dummy server --- src/Downloader.DummyHttpServer/HttpServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Downloader.DummyHttpServer/HttpServer.cs b/src/Downloader.DummyHttpServer/HttpServer.cs index 9554381..e2d7364 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();