Unsolved qmqtt client not connecting to mqtt broker
-
hi
i downloaded the mqtt client from github(https://github.com/emqtt/qmqtt-client)and executeed it.now im trying to connect it to shiftr.io broker but it is not connecting.
can anyone tell why cant i connect it?thank you
-
@shravani Don't you think that you should provide more information? How else can anybody find out what the problem is?
How do you try to connect? What errors do you get? -
@jsulm
i started emq broker successfully(http://emqtt.io/docs/v2/install.html),(in windows) and i started qt application but it is not connecting.in debug console it is showing like belowQAbstractSocket::connectToHost() called when already looking up or connecting/connected to ""
i even tried with filling clientid,username,password,topic,msg. still unable to connect it.
-
Hi,
Are you connecting your client from a macOS computer to your broker that is running on a Windows machine ?
-
This post is deleted! -
@SGaist
im able to connect and publish.
but can i connect same application to mosquitto broker(or any other broker) running in other pc through internet? -
AFAIK, yes you can, you have to ensure that the network setup on the other side is configured properly. And also don't forget the security aspects.
-
This post is deleted!