Skip to content

Commit

Permalink
Change host IP from localhost to 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ymtdzzz committed Apr 6, 2024
1 parent e445550 commit 1e2b278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 1e2b278

Please sign in to comment.