Closed arunrajput220 closed 3 years ago
That is a nice little breaking change coming from Mosquitto 2.0. Commit fc52921 now fixes the docker-compose
to a fixed 1.6.14 release as shown:
mosquitto:
- image: eclipse-mosquitto
+ image: eclipse-mosquitto:1.6.14
You can make the change yourself or just pull the latest changes.
The latest
version of Mosquitto 2.0 runs more securely by default and isn't letting in access from an unconfigured I.P. Since security is not the focus of the tutorial it is easily fixed by pinning to the older Mosquitto version.
I am getting this error "Error: Connection refused" while running below command
docker run -it --rm --name mqtt-subscriber --network fiware_default efrecon/mqtt-client sub -h mosquitto -t "/#" Error: Connection refused