I can’t get the mosquitto container working properly, but don’t know why.
when starting the container, the following information is logged:
0: mosquitto version 2.0.14 starting
0: Config loaded from /mosquitto/config/mosquitto.conf.
0: Starting in local only mode. Connections will only be possible from clients running on this machine.
0: Create a configuration file which defines a listener to allow remote access.
0: For more details see Authentication methods | Eclipse Mosquitto
0: Opening ipv4 listen socket on port 1883.
0: Opening ipv6 listen socket on port 1883.
0: Error: Address not available
0: mosquitto version 2.0.14 running
My mosquitto.conf file is locally on my pi on this location:
This is the content:
log_dest file /mosquitto/log/mosquitto.log
Is the path mentioned for the mosquitto config file inside the container of outside on the host machine ? I have created it on my host.
I suppose that the message in the log file metioning:
Error: Address not available
is causing the issue, but how do I resolve it ?