Adding Azure OpenAI public addresses to a firewall for connection

Çağrı Kurt 40 Reputation points
2024-09-27T09:26:10.22+00:00

We have deployed a chatbot app on a on-premises environment, and utilized Azure OpenAI APIs in the app. We need to add the public addresses of the Azure OpenAI service to the allowlist to establish a successful connection. The app getting 404 Not Found error for now because it cannot connect to Azure OpenAI via a client or rest API. Where can I find the address that we should add to the allowlist?

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,132 questions
{count} votes

Accepted answer
  1. romungi-MSFT 46,476 Reputation points Microsoft Employee
    2024-09-27T12:25:15.3933333+00:00

    @Çağrı Kurt See this documentation section from Azure AI services on how to configure access from on-premises networks. The recommendation is:

    1. To grant access from your on-premises networks to your Azure AI services resource with an IP network rule, identify the internet-facing IP addresses used by your network. To allow access to your service resources, you must allow these public IP addresses in the resource IP firewall setting.
    2. Use Private Endpoints for Azure AI services resources to allow clients on a virtual network to securely access data over Azure Private Link. This is a secure option with more capabilities.

    Using your Endpoint IP for whitelisting on your network is not a recommended option since the IP can change. But if you still need the IP ranges of Azure, they can be downloaded from here. AI services uses CognitiveServicesManagement & CognitiveServicesFrontend names in the list.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.