• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mosquitto MQTT Broker
#7
I got it working now also with version 2.x.

Based on the documentation at https://mosquitto.org/documentation/migrating-to-2-0/ I added two lines additionally in the mosquitto configuration file in the container named

Code:
/mosquitto/config/mosquitto.conf

The two lines are
Code:
listener 1883
allow_anonymous true

Then I restarted the container and everything went well.

P.S.: I saw in your container screen shot you enabled the "privileged" flag. This is not necessary at all to set for the mosquitto container.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Answer - by Armin@netPI - November-27th-2017, 06:53 AM
RE: Mosquitto MQTT Broker - by C@rlo5Sepulveda - December-15th-2019, 03:08 AM
RE: Mosquitto MQTT Broker - by Armin@netPI - December-16th-2019, 07:22 AM
RE: Mosquitto MQTT Broker - by tad - March-3rd-2021, 08:45 AM
RE: Mosquitto MQTT Broker - by Armin@netPI - March-3rd-2021, 11:17 AM
RE: Mosquitto MQTT Broker - by Armin@netPI - March-3rd-2021, 11:29 AM
RE: Mosquitto MQTT Broker - by Armin@netPI - March-3rd-2021, 11:36 AM
RE: Mosquitto MQTT Broker - by Armin@netPI - March-3rd-2021, 11:50 AM
RE: Mosquitto MQTT Broker - by tad - March-3rd-2021, 11:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  MQTT test DSongra 12 7,899 October-20th-2020, 08:20 AM
Last Post: Armin@netPI
  Node-Red MQTT with SSL/TLS can't connect to broker BFH_SAM2 6 5,823 May-18th-2018, 08:48 AM
Last Post: Armin@netPI
  Receive iot hub messages through MQTT adapter marcel 1 2,652 March-15th-2018, 05:56 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)