Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mosquitto » Mosquitto broker "starting in local only mode"(Mosquitto configuration)
Mosquitto broker "starting in local only mode" [message #1853478] Mon, 04 July 2022 13:29
Arne Brendel is currently offline Arne BrendelFriend
Messages: 2
Registered: July 2022
Junior Member
Hey, I am currently trying to configure my Mosquitto broker running headless on a raspberry pi 4...
When running mosquitto -v I always get as response, that its running on local mode only.


1656875923: mosquitto version 2.0.11 starting
1656875923: Using default config.
1656875923: Starting in local only mode. Connections will only be possible from clients running on this machine.
1656875923: Create a configuration file which defines a listener to allow remote access.
1656875923: For more details see ht tps://mosquitto.org/documentation/authentication-methods/
1656875923: Opening ipv4 listen socket on port 1883.
1656875923: Opening ipv6 listen socket on port 1883.
1656875923: mosquitto version 2.0.11 running


The linked docs doesnt help, I already tried bind_address 0.0.0.0 in the mosquitto.conf file, even when allow_anonymous is true it doesnt work.

This is my config file:

  GNU nano 5.4              /etc/mosquitto/mosquitto.conf
# Place your local configuration in /etc/mosquitto/conf.d/
#
# A full description of the configuration file is at
# /usr/share/doc/mosquitto/examples/mosquitto.conf.example
per_listener_settings true

pid_file /run/mosquitto/mosquitto.pid

persistence true
persistence_location /var/lib/mosquitto/

log_dest file /var/log/mosquitto/mosquitto.log

include_dir /etc/mosquitto/conf.d

allow_anonymous false

listener 1883
password_file /etc/mosquitto/passwd


It works communicating on the machine, but I cant connect with my mqtt dashboard or else.
Could you please help me? Idk what to do anymore, the docs dont really help...

Thanks!
Previous Topic:How to use mosquitto with MS Visual Studio
Next Topic:Mosquitto not allowing external connections
Goto Forum:
  


Current Time: Thu May 02 18:54:43 GMT 2024

Powered by FUDForum. Page generated in 0.03700 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top