I have a Mosquitto broker running on my Windows machine. I can connect to this on the same machine using an MQTT client such as MQTTX when I specify localhost as the address.
However, I want other devices on my local network to be able to connect also to this using the local IP address of my Windows computer.
Even when I specify the local IP address in the MQTT client application instead of localhost, this does not work and I get Error: connect ECONNREFUSED
. I have port 1883 publicly open on my Windows computer also. Any ideas?