We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96beee5 commit 2a64d95Copy full SHA for 2a64d95
BHD-ServerManager/API/Services/EmbeddedApiHost.cs
@@ -30,7 +30,7 @@ public void Start(int port = 5000)
30
_host = Host.CreateDefaultBuilder()
31
.ConfigureWebHostDefaults(webBuilder =>
32
{
33
- webBuilder.UseUrls($"http://localhost:{port}");
+ webBuilder.UseUrls($"http://0.0.0.0:{port}");
34
webBuilder.ConfigureServices(services =>
35
36
services.AddControllers();
@@ -98,7 +98,7 @@ public void Start(int port = 5000)
98
99
_runTask = _host.RunAsync(_cts.Token);
100
101
- AppDebug.Log("EmbeddedApiHost", $"API server started on http://localhost:{port}");
+ AppDebug.Log("EmbeddedApiHost", $"API server started on http://0.0.0.0:{port}");
102
}
103
104
/// <summary>
0 commit comments