Hi all,
I'm struggling on a network challenge.
Basically I want to estabilish an UDP connection between two devices - an android app and a LifX light bulb. The latter opens an UDP channel on a specific port (56700).
It works flawlessly when the devices are on the same network (WLAN).
Now the question. How to reach the device (bulb) from within another network ? Both networks have an internet connection. In other terms, how to get the "internet" address of the light bulb ?
The light bulb has an address like, for example, 192.168.179.21. It's reachable from within the same network. The router that sits "ahead" has - I guess - a static IP address, which is given by the internet provider.
Now, there should be a sort of NAT traversing/translation in order to get a valid IP address and reach the light bulb from "outside". But how to get it ?
Sorry if I'm asking something obvious here.
Thanks for your attention,
Sergio
I'm struggling on a network challenge.
Basically I want to estabilish an UDP connection between two devices - an android app and a LifX light bulb. The latter opens an UDP channel on a specific port (56700).
It works flawlessly when the devices are on the same network (WLAN).
Now the question. How to reach the device (bulb) from within another network ? Both networks have an internet connection. In other terms, how to get the "internet" address of the light bulb ?
The light bulb has an address like, for example, 192.168.179.21. It's reachable from within the same network. The router that sits "ahead" has - I guess - a static IP address, which is given by the internet provider.
Now, there should be a sort of NAT traversing/translation in order to get a valid IP address and reach the light bulb from "outside". But how to get it ?
Sorry if I'm asking something obvious here.
Thanks for your attention,
Sergio