title: Can't connect from azure resource to Azure database for postgres server
body: <p>I can't connect from azure resource (aks node) to Azure postgres using pgcli. I also tried directly from node and got the same error message: </p>
  
  <p><code>FATAL:  Client from Azure Virtual Networks is not allowed to access the server. Please make sure your Virtual Network is correctly configured.</code></p>
  
  <p>Firewall rules in the resource are on:
  <code>Allow access to Azure services: ON</code></p>
  
  <p>Running the same pgcli login command on my computer and on another azure resource seems to work fine.</p>
  
  <p>Adding Firewall rules to all IPs return the same error.</p>
  
  <p>Curl from the problematic server (host:5432) returns a reply, so it's not an outbound issue.</p>