Issue with API Management Unable to Connect to Backend API When Using Private Endpoint Configuration
Issue with API Management Unable to Connect to Backend API When Using Private Endpoint Configuration
We have configured our API Management instance to receive traffic exclusively through a private endpoint, following the guidance provided in the following Microsoft documentation:
Enable private link for Azure API Management
Our API Management SKU is Standard.
When attempting to access the backend API (hosted on a VM server) via API Management, which itself is accessed through an Application Gateway, we encountered the following error messages:
-
"Unable to connect to the remote server"
-
"Error occurred while calling backend service."
-
"An attempt was made to access a socket in a way forbidden by its access permissions 10.0.1.4:7443"
Note:
10.0.1.4:7443
is the destination configured for the backend API.
We would like to understand what configuration might be missing or misconfigured in order to resolve this issue, while keeping the private endpoint setup for API Management enabled.
Any guidance or recommendations would be greatly appreciated.