Skip to content

Unable to start docker ring-mqtt fails with "ring-mqtt Unable to connect to MQTT broker connect ECONNREFUSED 127.0.0.1:1883" #378

Discussion options

You must be logged in to vote

"mqtt_url": "mqtt://username:password@localhost:1883",

You'll need to put your actual MQTT settings in here as this is unlikely to be correct. Certainly, when running the Docker version, the "localhost" portion can pretty much never be correct since localhost refers to the internal network of the container and there's no MQTT broker running inside the ring-mqtt container. You'll need to put the IP/hostname of whatever host is running your MQTT broker.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mwatz1234
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants