We have .net core WebAPI running in Azure via an app service plan and having trouble connecting to an on-premise database. Network wise, we have setup an ExpressRoute assigned the correct vlans and subnets and we can actually tcpping the oracle listerner on port 1521.
However we get the following error, when trying to connect via the dotConnect driver (v9.7.734)
Code: Select all
An attempt was made to access a socket in a way forbidden by its access permissions
So we have build 2 console apps, just reading the Oracle DB system time - one for .net 4.7 and one for .net core 3.1. The .net core 3.1 app throws the same Devart.Data.Oracle.OracleException as mentioned above, however the .net 4.7 one works.
Any input on what could be the problem?
App Service is configured for the .net core 3.1 runtime stack.