如何确定 Azure 托管的 WebApp 的 IP 地址 [英] How can I determine the IP address of an Azure hosted WebApp

查看:25
本文介绍了如何确定 Azure 托管的 WebApp 的 IP 地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将 Azure 平台用于 web 应用程序.我需要找出我的网络应用程序的 IP 地址,以便我可以将它列入我创建 API 的外部服务器的白名单.NSLookup 是确定白名单 IP 地址的正确方法吗?

I am using Azure platform for a webapp. I need to find out IP address of my web app so that I can whitelist it to an external server where I have created APIs. Is NSLookup the correct way to determine the IP address for whitelisting?

推荐答案

最快的方法是登录 Azure 门户并从资源菜单中选择您的 Web 应用程序.一旦您为 Web 应用程序打开刀片,就会有两种类型的 IP 地址.入站和出站.对于出站 IP,单击资源菜单中的属性.这将显示所有可能的出站 IP 地址的列表.

The quickest way would be to login to the Azure portal and select your web app from the resources menu. Once you have the blade open for your web application there are two types of IP addresses. Inbound and outbound. For outbound IP, click properties from the resources menu. This will display a list of all possible outbound IP addresses.

对于入站 IP 地址,单击属性菜单中的自定义域,您的外部 IP 将出现在那里.

For inbound IP address, click on Custom Domains from the properties menu and your external IP will appear there.

这篇关于如何确定 Azure 托管的 WebApp 的 IP 地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆