Skip to content

Java Agent failed to connect to localhost sidekick #68

Answered by boroskoyo
minuth asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Minuth, the issue seems to be about your SIDEKICK_AGENT_BROKER_HOST setting the compose file. Since both broker and your app are expected to run in different containers, instead of 127.0.0.1, you should either give the container name (if they are defined in the same compose file) or the external IP of the host that runs the broker. You can also find extra information about docker networking on their docs: https://docs.docker.com/network/

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@minuth
Comment options

@boroskoyo
Comment options

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