Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT-Spy only connects to localhost broker #104

Open
haydos opened this issue Mar 18, 2022 · 1 comment
Open

MQTT-Spy only connects to localhost broker #104

haydos opened this issue Mar 18, 2022 · 1 comment

Comments

@haydos
Copy link

haydos commented Mar 18, 2022

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants