Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » paho c client remote host broker connection
paho c client remote host broker connection [message #1795582] Tue, 25 September 2018 14:15 Go to next message
Yash Inaniya is currently offline Yash InaniyaFriend
Messages: 1
Registered: September 2018
Junior Member
Hi,

I am new to paho c client mqtt implementation. As of now, I have published message using the simple publishing example on a localhost mosquitto broker.


- Now I want to try publishing the message on a broker which is based on another computer. I tried by defining the ip address and port of that server in the same example. But It fails to connect when build

- Do I need to substitute something else in the
" #define ADDRESS "tcp://192.168.x.xxx: port statement or modify some other parameters in the code.

I am new to server/host model and thus need urgent help


Thank you
Yash
Re: paho c client remote host broker connection [message #1797403 is a reply to message #1795582] Tue, 30 October 2018 15:56 Go to previous message
Ian Craggs is currently offline Ian CraggsFriend
Messages: 83
Registered: March 2013
Member
What you are doing is the right approach. You should check the firewall on the machine with the broker to ensure that the MQTT port you are using is open.
Previous Topic:Java Client
Next Topic:v1.3.0 stability?
Goto Forum:
  


Current Time: Tue Apr 23 16:08:47 GMT 2024

Powered by FUDForum. Page generated in 0.02835 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top