Network Access IP wrong

Robin Tan 61 Reputation points
2023-05-29T10:42:50.3933333+00:00

Hi, I'm using Azure Function consumption to connect to Mongo Atlas. I input all 13 Outbound IPs from the Networking section into MongoDB Atlas "Allowed IPs". It does not work. If I allow all IPs in mongodb (0.0.0.0), it connects fine.

So the Outbound IP from Azure Function is wrong?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,607 questions
0 comments No comments
{count} votes

Accepted answer
  1. Boris Von Dahle 3,121 Reputation points
    2023-05-29T11:42:09.6033333+00:00

    Hello,

    In Azure Functions, the Consumption plan uses dynamic Outbound IP addresses. These addresses can change and are not restricted to the IP addresses visible in the portal.
    More information here :
    https://learn.microsoft.com/en-us/answers/questions/844771/outbound-ip-addresses-for-azure-function-app

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful