"I'm ba-ack!"....
My MQTT interest has again been spiked and I am doing some reading on getting it working,
Alas, not all good news.
I can get it to talk "locally" but it falls over when I wan to talk machine to machine.
I also shall say that I may have had an "older" version of MQTT but after reading I found a link to the CORRECT version - or so I believe.
As the thread is OLD, I am asking anew.
But this is the cux of it:
(No offence Dougie)
viewtopic.php?p=1072534#p1072534
by DougieLawson » Mon Nov 09, 2015 11:33 pm
Nope. It's because you mosquitto server is not listening on the inaddr-any address.
Take a look at your mosquitto.conf, is there a "listener" line in there? Change
Code: Select all
listener 1883 127.0.0.1
to
Code: Select all
listener 1883
Um......... There is no line in /etc/mosquitto/mosquitto.conf that says that.
I used the walk through from:
http://mosquitto.org/2013/01/mosquitto- ... epository/
which was referenced in the above thread.
But all the "examples" given /that I find are for LOCAL stuff.
They don't go into the "between two separate machines" scenario.
On the one machine I get the messages sent through, but if I try from Machine 1 to Machine 2, it says
Code: Select all
mosquitto_pub -d -t test -m "Test"
Error: Connection refused
Yeah, right..... And I can't see how to get around that.
Thanks in advance.
