skip to Main Content

I have the following setup on azure:

  • 1 app service for .NET backend
  • 1 app service for angular frontend with a custom domain
  • 1 SQL server

I created a virtual network, I added 2 subnets for frontend and backend.I assigned these subnets to application services.

I would like to allow only the frontend to access my backend but my frontend receives 403 from my backend.

I created Access Restrictions that allow only inbound connection from the subnet, or IP but my frontend receives 403 when is trying to access it. What could be the problem?

enter image description here

2

Answers


  1. Chosen as BEST ANSWER

    Late Update:

    I managed to solve this by adding a NGINX server in front of the Azure App service.


  2. As you are getting 403 which implies forbidden, so looked like an access issue here.

    As per the official documentation, you may need to provide permissions as well to the subnet or at a higher level.

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search