eclipse / mosquitto.rsmb

Mosquitto rsmb
85 stars 42 forks source link

Unable to connect to remote broker #29

Closed RohithS98 closed 6 years ago

RohithS98 commented 6 years ago

Hello, I am using RSMB on VirtualBox(Ubuntu) and i was trying to connect to CloudMQTT online broker. However, the connection keeps timing out. Can you please help me with this? My config file:

to trace the output

trace_output protocol

normal MQTT listener

listener 1885 INADDR_ANY mqtt

MQTT-SN listener

listener 1887 INADDR_ANY mqtts

MQTT outgoing remote bridge

connection cloudmqtt

address mXX.cloudmqtt.com:portno

username XXX

password XXX

try_private false

start_type automatic

topic datetime in

topic time out

This was the output: 20180528 165618.691 CWNAN0124I Starting bridge connection cloudmqtt 20180528 170913.128 CWNAN0128I TCP connect timeout for bridge connection cloudmqtt

Update: It works when I put the IP address instead of the server name