Hi there!
I have app that get data on a REST Server (i.e. a http server that returns JSON to consume)
I wrote this http server and I can change it to whatever protocol I desire to answer inquiries.
My problem is that I have frequently customers that are behind NAT and it is getting each time more difficult to get thru them. (internet providers are making it more and more difficult)
So I was wondering if I could use MQTT instead.
The idea would be to put a MQTT broker on an internet server (like amazon) and then make the local server that is behind the NAT connects there, and then any client app doing the same and them have a way to access the local server.
I have only know a overall concept of MQTT to have an idea if that is something possible to work. An external broker would work as a proxy and solve the problem theoretically.
Is MQTT the way to go?
I am using HTTPUTILS2 to connect to my local server. Since it is all in the same library it is not difficult to replace the calls to something else like MQTT and wait for the answer.
For those that already tested this, could it work?
I have app that get data on a REST Server (i.e. a http server that returns JSON to consume)
I wrote this http server and I can change it to whatever protocol I desire to answer inquiries.
My problem is that I have frequently customers that are behind NAT and it is getting each time more difficult to get thru them. (internet providers are making it more and more difficult)
So I was wondering if I could use MQTT instead.
The idea would be to put a MQTT broker on an internet server (like amazon) and then make the local server that is behind the NAT connects there, and then any client app doing the same and them have a way to access the local server.
I have only know a overall concept of MQTT to have an idea if that is something possible to work. An external broker would work as a proxy and solve the problem theoretically.
Is MQTT the way to go?
I am using HTTPUTILS2 to connect to my local server. Since it is all in the same library it is not difficult to replace the calls to something else like MQTT and wait for the answer.
For those that already tested this, could it work?