I want to configure Network Security Group(NSG) for my Application gateway(AG) subnet. I tried to follow this doc - here but after applying the inbound rules to my NSG, I am getting timeout when hitting the webapp url(which is in the backend pool of my AG).
Here is the snippet of configuration of my NSG inbound rule that I added -
This is the snapshot of all the inbound rules of nsg - pic3
I have also tried with making destination as 'Service Tag' and value as 'Gateway Manager' but still got the same timeout issue. I have also tried with making source as 'Any' and destination as 'Any' but got same issue. Also tried with making Protocol as 'TCP' but no luck here too.
What am I missing here? Or do I need to add anything else in AG or vnet settings?
My AG is WAF-v2 tier with https on both listener settings and backend settings. Everything is working without NSG.
This error may cause:
In your application gateway -> Backend setting -> change Request time-out second 3600 like below:
In Healthy probes add timeout like below:
You can make use of below powershell command like below:
Output
References:
azure public ip - Causes for Application Gateway Connection Timeout - Stack Overflow
Update
Based on your information NSG rule which you configure is correct, This issue may cause on another factor