eclipse / mosquitto.rsmb

Mosquitto rsmb
85 stars 42 forks source link

RSMB configuration file #28

Open Anisbelakremi1993 opened 6 years ago

Anisbelakremi1993 commented 6 years ago

Hello, I am trying to use the RSMB on virtualbox (Ubuntu as guest & windows as host because I couldn't run it with cygwin). When configuring the broker as mentioned by the tutorial, I keep getting "connect for bridge local_bridge_to_mosquitto address 127.0.0.1:1888 failed with TCP error code111" Am I getting this error because I am using a virtual machine? I would be grateful if someone can explain to me how to set the IP addresses in the configuration or give me a hint how to solve this. Thanks in advance The configuration file currently:

to trace the output

trace_output protocol

normal MQTT listener

listener 1887 INADDR_ANY mqtt

MQTT-SN listener

listener 1886 INADDR_ANY mqtts

MQTT-S outgoing local bridge

connection local_bridge_to_mosquitto address 127.0.0.1:1888 topic #out

MQTT-S outgoing remote bridge

connection remote_bridge_to_mosquitto address 192.168.1.104:1889 topic #out

icraggs commented 6 years ago

Hi. Linux error code 111 is "connection refused". You could check the Mosquitto log for more information.

I assume you are using RSMB for the MQTT-SN support? Have you tried using the Paho MQTT-SN gateway?

(https://github.com/eclipse/paho.mqtt-sn.embedded-c/tree/master/MQTTSNGateway)