WinBoss
WinBoss

Reputation: 923

Allow Web Apps through Network Security Group

We have a few Web Apps that need to access database on VM that behind Network Security Group. How do we allow Web App through Network Security Group?

Upvotes: 0

Views: 861

Answers (1)

msrini-MSIT
msrini-MSIT

Reputation: 1502

Web App will use a set of outbound Public IP addresses to reach Internet. You can get those IP address by navigating to the Properties of the Web App.

In your NSG, you can use the Source IP as the list of IP that you got from Properties blade to allow traffic to your database. Also make sure to only open the port used by the database, and nothing else.

Upvotes: 1

Related Questions