我已经在网络访问中添加了“允许从任何地方”和我的IP。One common reason is that you're trying to access the database from an IP that isn't whitelisted.Make sure your current IP address is on your Atlas cluster's IP whitelist: https://docs.atlas.mon
我已经在Azure上创建了Python函数,它调用外部API服务,只允许白名单上的IP访问。根据微软文档(),我找到了所有的OutboundIPAddresses和PossibleOutboundAddresses,并将它们都列入了白名单。尽管I已被列入白名单,但我仍然收到来自服务的403 Forrbiden错误。我还通过在函数中添加以下代码来验证请求的IP地址:
ip = requests.request('GET