I try to connect a application who is in a subnet sub_A to a postgresql database that have a private endpoint in the subnet sub_B and still fail to do it.
I do a lot of try and i am able to connect in the database from a VM in sub_B so i expect that the issue comes from sub_A but here is ma configuration i configure on the database server the vmnet rules for sub_A and sub_B.
I configure the both subnet with the service endpoints "Microsoft.Sql"
and when i try to connect in the database throught the private endpoint i still get the error
error: FATAL: Client from Azure Virtual Networks is not allowed to access the server using Private IP. Please make sure your Virtual Network is correctly configured.
can you help me and tell me what i missed?