We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f76857 commit eaaf330Copy full SHA for eaaf330
1 file changed
cmd/dxcluster-client/main.go
@@ -350,7 +350,7 @@ func RunApplication(ctx context.Context, args []string) int {
350
}
351
352
srv := &http.Server{
353
- Addr: fmt.Sprintf(":%d", cfg.WebPort),
+ Addr: fmt.Sprintf("0.0.0.0:%d", cfg.WebPort),
354
Handler: router,
355
356
@@ -360,7 +360,7 @@ func RunApplication(ctx context.Context, args []string) int {
360
log.Fatalf("FATAL: HTTP server failed: %v\n", err)
361
362
}()
363
- logging.Info("HTTP API listening on :%d (BaseURL: %s)", cfg.WebPort, cfg.BaseURL)
+ logging.Info("HTTP API listening on 0.0.0.0:%d (BaseURL: %s)", cfg.WebPort, cfg.BaseURL)
364
365
// ═══════════════════════════════════════════════════════════════════════════
366
// NOW connect DX clusters and start POTA polling - everything is ready!
0 commit comments