mosquitto-2.0.15 on Gentoo Lignux here. strace doesn't tell any hints on why doesn't it work. listener works but is unsuitable for dynamic IP addresses.
∞ grep -Ev '^#|^$' /etc/mosquitto/mosquitto.conf
persistent_client_expiration 1y
bind_interface eth2
autosave_interval 1800
persistence true
persistence_file mosquitto.db
persistence_location /var/lib/mosquitto/
log_dest syslog
log_type information
allow_anonymous true
mosquitto-2.0.15 on Gentoo Lignux here.
stracedoesn't tell any hints on why doesn't it work.listenerworks but is unsuitable for dynamic IP addresses.