Can I Ping my other resources in a Vnet or On premise Server from My Azure WebApp and its Slots

Avinash Singh 1 Reputation point
2021-01-29T18:17:51.823+00:00

I have one Linux based web app integrated with a sub-net under one Vnet.
Now, I want to ping my on premise server over VPN, I understand i can do it through KUDU console. My App service has two additonal deployment slots namely for Dev and Stage, currently using kudu console i can ping my On premise Db server over VPN through Primary production slot but not through Dev and Staging. Is this ping from Slots not supported ?

Any alternate way to do this. My objective is to ensure connectivity between my app service with all slots to one of my backend on premise server.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,006 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 27,261 Reputation points Microsoft Employee
    2021-02-01T12:57:36.857+00:00

    @Avinash Singh , Apologies for the delay!

    You may use Tracert and nameresolver for testing the connectivity.
    https://learn.microsoft.com/azure/app-service/web-sites-integrate-with-vnet#tools

    With Deployment slots on App Service - they are live apps with their own hostnames. i.e You have different versions of your web app to different URLs./test separately.

    As a side note, today you cannot plug Private Endpoint on slots, but it's just that you cannot consume the web app in slots from the private IP.

    Kindly note that by default, new slots are given a routing rule of 0%. When you explicitly set this value to 0% your users can access the staging slot manually by using the x-ms-routing-name query parameter. But they won't be routed to the slot automatically because the routing percentage is set to 0.


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.