Here is my entre \etc\mosquitto\mosquitto.conf file
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
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
listener 1883
allow_anonymous false
Even after restarting the raspberry pi, I still get the message:
$ mosquitto -v
1735148322: mosquitto version 2.0.11 starting
1735148322: Using default config.
1735148322: Starting in local only mode. Connections will only be possible from clients running on this machine.
1735148322: Create a configuration file which defines a listener to allow remote access.
1735148322: For more details see https://mosquitto.org/documentation/authentication-methods/
1735148322: Opening ipv4 listen socket on port 1883.
1735148322: Error: Address already in use
1735148322: Opening ipv6 listen socket on port 1883.
1735148322: Error: Address already in use
I know that I am missing something simple, but after checking this forum and others, I cannot figure out what I am omitting or doing wrong.
As always, thanks in advance for your help.
Steve
Hi.
Did you save the configuration file after exiting?
What tutorial exactly are you following?
Regards,
Sara