I have this Mosquitto MQTT broker installed on OpenSUSE on virtualbox.
However I'm not able to mosquitto_pub/ mosquitto_sub from my Raspberry Pi connected in same network.
The virtual machine is configured with bridged adapter in network setting.
I'm able to ping the VM's OpenSUSE from my Pi and the other way round.
I've tried to change the roles by install Mosquitto broker in Pi and mosquitto_pub from VM's OpenSUSE and it worked.
I've also tried to locally mosquitto_pub from VM's OpenSUSE to the local broker, and it worked.
I did not change anything from VM's OpenSUSE mosquitto.conf file, is there any configuration I need to do to make the broker in VM to listen to remote devices?