eclipse-paho / paho.mqtt-spy

mqtt-spy is an open source desktop & command line utility intended to help you with monitoring activity on MQTT topics
Other
620 stars 145 forks source link

MQTT-Spy only connects to localhost broker #104

Open haydos opened 2 years ago

haydos commented 2 years ago

Hi, I have tried using all available versions of MQTT-Spy and cannot connect to the sample brokers or a Raspberry Pi running a mosquito broker. The MQTT-Spy update check also fails and shows a red cross on UI. I have added incoming / outgoing rules to the windoes firewall that permit traffic from java/javaw and port 1883. I am able to ping the Raspberry Pi from cmd on the computer running MQTT-Spy. Any guidance on how to overcome this connection issue is much appreciated!

jctooley commented 1 year ago

I suspect that you may have some firewall issue. I have a RPi4 setup running a mosquitto broker in a Docker container which exposes port 1883. I am then able to connect using MQTT-Spy by entering the IP address of my RPi4 on my network.

image

Hope this helps.