MQTT: allow anonymous

From OnnoWiki
Revision as of 09:19, 20 May 2017 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

sumber: https://mosquitto.org/man/mosquitto-conf-5.html


Agar di ijinkan login tanpa username & password, edit

vi /etc/mosquitto/mosquitto.conf

isi

allow_anonymous [ true | false ]

Nilai di atas menentukan apakah client di ijinkan untuk connect tanpa memberikan username. Jika di set false, maka client harus memberikan username. Default "true"

Referensi


Pranala Menarik