Skip to content

Grafana agent API endpoints not working #3398

Closed Answered by rfratto
JCastrejonE asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry for the confusion here. v0.23.0 was the last version where the default listen address was 0.0.0.0:12345, which was changed afterwards to 127.0.0.1:12345 for security reasons.

To expose the API to outside of the container, you need to pass -server.http.address=0.0.0.0:12345 as an argument. I'm not sure why it worked for Paschalis (it may be his Docker network configuration), but passing that flag should get everything working for you again.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@tpaschalis
Comment options

@openPablo
Comment options

@rfratto
Comment options

Answer selected by JCastrejonE
@JCastrejonE
Comment options

@llamafilm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants