From b6e7c72ece4bc35a2fd79952cee6305a7ce5aaef Mon Sep 17 00:00:00 2001 From: Zach Reyes <39203661+zasweq@users.noreply.github.com> Date: Mon, 16 Dec 2024 00:56:03 -0500 Subject: [PATCH] examples/features/csm_observability: Make CSM Observability example server listen on an IPV4 address (#7933) (#7934) --- examples/features/csm_observability/server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/features/csm_observability/server/main.go b/examples/features/csm_observability/server/main.go index 3cafe23316b3..7a87517cbde6 100644 --- a/examples/features/csm_observability/server/main.go +++ b/examples/features/csm_observability/server/main.go @@ -66,7 +66,7 @@ func main() { cleanup := csm.EnableObservability(context.Background(), opentelemetry.Options{MetricsOptions: opentelemetry.MetricsOptions{MeterProvider: provider}}) defer cleanup() - lis, err := net.Listen("tcp", ":"+*port) + lis, err := net.Listen("tcp4", "0.0.0.0:"+*port) if err != nil { log.Fatalf("Failed to listen: %v", err) }