I'm trying to run a blazor app in an webapp in azure but the database is in a local domain. So Azure hybrid connection is a good idea to get on the local domain. Due to some restrictions we cannot directly link to the database and chose to create an api in the local domain to do this for us. The communication between the azure webapp and the local api goes trough grpc-web. While it is working from my local machine to the server running the api in IIS calling the api from azure results in the following error:
Grpc.Core.RpcException: Status(StatusCode="Internal", Detail="Error starting gRPC call. HttpRequestException: An attempt was made to access a socket in a way forbidden by its access permissions. (:443) SocketException: An attempt was made to access a socket in a way forbidden by its access permissions.")
My question now is can I do a grpc-web call over a hybrid connection? Reading up on hybrid connections I found that it should support the communication between grpc calls.
In the hybrid connection manager it states that the connection is available and up. I can also tcpping to the machine running the api from azure.
thank you in advance.