From 1e2b2781887d710b50e2a94fbe57590588925740 Mon Sep 17 00:00:00 2001 From: "Y.Matsuda" Date: Sat, 6 Apr 2024 18:20:01 +0900 Subject: [PATCH] Change host IP from localhost to 0.0.0.0 --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 7ab7951..5fb9836 100644 --- a/main.go +++ b/main.go @@ -84,6 +84,6 @@ service: rootCmd.Flags().IntVar(&httpPortFlag, "http", 4318, "The port number on which we listen for OTLP http payloads") rootCmd.Flags().IntVar(&grpcPortFlag, "grpc", 4317, "The port number on which we listen for OTLP grpc payloads") - rootCmd.Flags().StringVar(&hostFlag, "host", "localhost", "The host where we expose our all endpoints (OTLP receivers and browser)") + rootCmd.Flags().StringVar(&hostFlag, "host", "0.0.0.0", "The host where we expose our all endpoints (OTLP receivers and browser)") return rootCmd }