# Context deadline exceeded when enabling private endpoints

**URL:** <https://discuss.hashicorp.com/t/context-deadline-exceeded-when-enabling-private-endpoints/47396>\
**Category:** Azure\
**Tags:** connect\
**Created:** [November 28, 2022, 6:40pm UTC](https://discuss.hashicorp.com/t/context-deadline-exceeded-when-enabling-private-endpoints/47396 "2022-11-28T18:40:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tpatrizio](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/tpatrizio/32/32271_2.png) [@tpatrizio](https://discuss.hashicorp.com/u/tpatrizio)\
**Post date:** [November 28, 2022, 6:40pm UTC](https://discuss.hashicorp.com/t/context-deadline-exceeded-when-enabling-private-endpoints/47396/1 "2022-11-28T18:40:03Z")

</div>

After enabling private endpoints on a file storage account, the terraform plan fails with the following error when attempting to refresh state

`Error: shares.Client#GetProperties: Failure sending request: StatusCode=0 -- Original Error: context deadline exceeded`

I’m wandering if the course could be a too restrictive firewall rule, that blocks the protocol/port used by the azurerm provider to communicate with the resource manager. Fot which protocol/port traffic should be allowed?is there some way to use a dedicated manageent interface to manage PaaS resources regardless of private links?

Thanks a lot for your help
