How do we determine list of possible IP addresses to whitelist for IoT hub.

Stephens, Mike 1 Reputation point
2024-09-24T20:30:41.8133333+00:00

Is there a master list of IP addresses that a device may communicate with the IoT hub. When we ping the hostname of our IoT hub, we receive back an address of 20.44.8.225. This IP address however is not found in the Azure IP address JSON file.

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
407 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 33,951 Reputation points MVP
    2024-09-25T06:55:29.0966667+00:00

    Hello @Stephens, Mike,

    welcome to this moderated Azure community forum.

    You want to know the public IP addresses of Azure Services, especially for IoT Hubs.

    Yes, Microsoft provides a list of IP ranges used by their resources, it's called Service Tags.

    You can either download the list or use the API.

    See this blog post for details.


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.