Skip to content
Discussion options

You must be logged in to vote

This is the mosquito config that i use,

persistence true
persistence_location /mosquitto/data/
log_dest file /mosquitto/log/mosquitto.log
#log_type all
allow_anonymous false
password_file /path/to/file :)
connection_messages true

listener 1883 0.0.0.0
protocol mqtt
listener 1884 0.0.0.0
protocol websockets

as you can see I create a listener on 1883 any ip for mqtt
and listener 1884 any ip for websockets
http://www.steves-internet-guide.com/mqtt-websockets/
hope this can help you
Ciao

Replies: 2 comments 2 replies

Comment options

NickM-27
Nov 6, 2022
Collaborator Sponsor

You must be logged in to vote
1 reply
@eisentor
Comment options

Comment options

You must be logged in to vote
1 reply
@eisentor
Comment options

Answer selected by eisentor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants