mqtt source server uri not able to connect


I wanted to create an mqtt in and out flow. Tried creating an mqtt source with server uri tcp://localhost:1883 but it is not able to connect. Any suggestion about it?

You must be logged in to view attached files.
Posted: October 2, 2020 at 8:57 am
Replies: 1
Oct 2, 2020
Posted by Ken

Hi Yuan,

Are you working with a VANTIQ edge node on your laptop?  Is there an MQTT broker running at on your laptop or edge node?  Only in this circumstance will you be able to communicate with a MQTT broker running locally at  If you are testing the source with a VANTIQ cloud then “localhost” does not have much meaning – it means something that is “local” to the cloud servers

Vantiq maintains its own broker that you can publish and subscribe to:
Server URI: tcp://
Topic: com.vantiq.sensor.sample

After you create a SOURCE with the above properties you can click on Test Data Receipt and you should see test data being read for id (id), timestamp (ts) and voltagelevel (vl).


Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
© Vantiq 2024 All rights reserved  •  Vantiq Corporation’s Privacy Policy and Cookie Policy