Getting Access Restricted when accessing webapp using default domain webappname.

Lanjewar, Dnyaneshwari 0 Reputation points
2024-03-13T10:30:44.5466667+00:00

I have deployed my spring boot app as webapp under App service on azure portal through IDE.

My app is deployed successfully :

[INFO] Deployment Status: RuntimeStarting; Successful Instance Count: 0; In-progress Instance Count: 1; Failed Instance Count: 0

[INFO] Deployment Status: RuntimeStarting; Successful Instance Count: 0; In-progress Instance Count: 1; Failed Instance Count: 0

[INFO] Deployment Status: RuntimeSuccessful; Successful Instance Count: 1; In-progress Instance Count: 0; Failed Instance Count: 0

[INFO] Successfully deployed the artifact to https://spring-boot-enrichment-service-app.azurewebsites.net

[INFO] ------------------------------------------------------------------------

[INFO] BUILD SUCCESS

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 02:28 min

[INFO] Finished at: 2024-03-13T15:21:24+05:30

[INFO] ------------------------------------------------------------------------

But when i access this using URL https://spring-boot-enrichment-service-app.azurewebsites.net getting access restricted on browser.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 22,721 Reputation points Moderator
    2024-03-14T06:51:32.7633333+00:00

    @Lanjewar, Dnyaneshwari Thanks for reply! I see its not using Vnet User's image

    also- If you check this from Azure portal > Go to your App> Diagnose and solve problem > in search bar type Access restriction> click for details

    you should see- User's image

    where Action is set as "Deny" for all public traffic, you need to set this as "Allow" by using above mentioned steps-

    Refer to this document- https://learn.microsoft.com/en-us/azure/app-service/app-service-ip-restrictions?tabs=azurecli#manage-access-restriction-rules-in-the-portal

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.