Given the device itself or its own twin, how can I obtain its public IP address?
I was reading the Microsoft APIs for Azure IoT Hub with no results.
Given the device itself or its own twin, how can I obtain its public IP address?
I was reading the Microsoft APIs for Azure IoT Hub with no results.
You can use “nslookup” to get the IP address of the IoT Hub.
Ex: nslookup IoTHubname.azure-devices.net
Note that, once you have created an IoT hub in an Azure region, the IoT hub keeps the same IP address for the lifetime of that IoT hub. However, if Microsoft moves the IoT hub to a different scale unit to maintain quality of service, then it is assigned a new IP address.
Also, check this feedback item on the user voice forum and upvote.