Skip to content

Commit

Permalink
Merge pull request #20 from ymtdzzz/fix/host_ip
Browse files Browse the repository at this point in the history
Change the host IP from `localhost` to `0.0.0.0`
  • Loading branch information
ymtdzzz authored Apr 6, 2024
2 parents e445550 + 1e2b278 commit aed0ce5
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 aed0ce5

Please sign in to comment.