You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何查找已接入VPN的Azure WebApp的内部VPN IP地址?

How to Find Your Azure Web App's Internal VPN IP Address

Hey there! I get it—you’ve got your Azure Web App deployed inside a VPN, confirmed the connection is running smoothly, but only keep spotting the external IP across the config page and SCM site. Let’s walk through a few reliable ways to track down that internal VPN IP:

  • Retrieve via Azure CLI
    Open your terminal and run this command, swapping in your actual Web App and resource group names:
    az webapp show --name <your-webapp-name> --resource-group <your-resource-group> --query "privateIpAddress"
    This will spit out the internal IP directly, but only if your Web App is integrated with a VNet.

  • Check Azure Portal’s VNet Integration Details

    1. Navigate to your Web App’s Networking blade.
    2. Under the Outbound traffic section, click on the connected VNet integration entry.
    3. On the VNet integration page, you’ll see the subnet your Web App uses. Click into that subnet, then go to the Connected devices tab—your Web App instance(s) and their corresponding internal IPs will be listed here.
  • Grab it from the Kudu (SCM) Portal
    Access your Web App’s SCM site at https://<your-webapp-name>.scm.azurewebsites.net, then:

    1. Click Environment in the top navigation bar.
    2. Scroll through the environment variables until you find WEBSITE_PRIVATE_IP—that’s exactly the internal VPN IP you’re looking for.
  • Use Azure PowerShell
    If you prefer PowerShell over CLI, run this command:
    Get-AzWebApp -Name <your-webapp-name> -ResourceGroupName <your-resource-group> | Select-Object PrivateIpAddress

A quick heads-up: Your Web App only gets an internal VPN IP if it’s set up with VNet Integration (either Regional or Gateway mode). If you haven’t configured this, the Web App lives in Azure’s multi-tenant infrastructure and won’t have a dedicated internal VPN IP.

内容的提问来源于stack exchange,提问作者Ziba Leah

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.20 11:14:36