fix: add listen any ip instead localhost
This commit is contained in:
parent
1c27bffa73
commit
ab660f69c8
@ -69,7 +69,7 @@ public class Program
|
|||||||
|
|
||||||
builder.WebHost.ConfigureKestrel(options =>
|
builder.WebHost.ConfigureKestrel(options =>
|
||||||
{
|
{
|
||||||
options.ListenLocalhost(
|
options.ListenAnyIP(
|
||||||
int.Parse(builder.Configuration.GetValue<string>("INTERNAL_PORT") ?? "8080"));
|
int.Parse(builder.Configuration.GetValue<string>("INTERNAL_PORT") ?? "8080"));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user