I am trying to develop an application using NodeRED and share the data in the cloud (GCloud) by MQTT. For this, I am using the ADAM 6717 of Advantech which Is a gateway with NodeRED embedded.
I am having problems to connect the MQTT node to the broker. It never gets connected. I have read and tried a lot of things but nothing. I do really need help! (see pictures attached)
You could also consider giving other brokers a try. Here is a link with an up to date list of free online mqtt brokers. (Scroll down until you see the heading "Online MQTT Public Brokers for Testing")
I took a quick look at the 6700 series manual, and it appears to use an older version of Node-RED inside. This is likely irrelevant to the issue you’re seeing, but might be of value to others answering your question to keep in mind. Can you tap the 3 horizontal dashes top right and see what it shows on the bottom of that menu, is that 0.17.5 or something else?
I did it. The http://35.202.198.46:1880/ is my GCloud IP and the 192.168.1.10:1880 is the ip of my adam through my internet router.
I just reliazed that maybe the problem was that I had connected the ADAM via Ethernet cable to my computer and maybe the firewalls were the reason why I couldnt.
I don't understand that comment, can you describe how you have it connected in more detail please. Normally any device that needs to access the internet would be connected to your modem/router.
I waited for an answer from you to the questions from Colin.
If you have problems contacting another computer, you should DISABLE the firewalls (but only for testing!)
And you may ping another computer with
ping 192.168.1.10
(I just used the IP address from your latest reply)
Sorry for my late response but for some reason I was getting the notifications as Spam mail.
I had connected the ADAM6171 with an ethernet cable to my computer and another cable from the ADAM to my router. So due to the firewalls of my computer the adam couldnt connect to internet.
So, what I did was to get into the ADAM which is connected to the router via wifi from my laptop and it worked!
Apologies for casting nasturtiums, I do tend to get a bit over cynical sometimes, it is amazing how often a question is posted here, someone provides a possible solution, or suggests something to check, and we never hear from the poster again.