From ab660f69c81f1f20881eaacc6cf6a8668aa865ee Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Fri, 5 Jul 2024 02:37:12 +0300 Subject: [PATCH] fix: add listen any ip instead localhost --- Endpoint/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Endpoint/Program.cs b/Endpoint/Program.cs index 4a2e108..bebb589 100644 --- a/Endpoint/Program.cs +++ b/Endpoint/Program.cs @@ -69,7 +69,7 @@ public class Program builder.WebHost.ConfigureKestrel(options => { - options.ListenLocalhost( + options.ListenAnyIP( int.Parse(builder.Configuration.GetValue("INTERNAL_PORT") ?? "8080")); });