Forum Discussion

dzerain's avatar
dzerain
Regular Visitor
1 year ago
Solved

Postgres conection

Me sale el siguiente problema cuando pongo el IP y BD en el conector de Postgres:   Detalles: "Se produjo un error al leer datos desde el proveedor: 'Se produjo un error durante el intento de conex...
  • Shahid12523's avatar
    1 year ago

    The error usually happens because:

    IP not allowed → Add your public IP in the Azure Postgres Firewall settings.

    Port → Use 5432.

    Username → In Azure it must be user@server.

    SSL → In Power BI check Require SSL (Azure requires it).

    👉 Most common causes: SSL not enabled or IP not added correctly.

  • pallavi_r's avatar
    1 year ago

    Hi dzerain 

     

    Could you please try these steps:

    1. Go to settings->Networking->

    Allow All IP -> Add 0.0.0.0 - 255.255.255.255

    2. Test your connections, it should work fine.

    When the above works.

    i)Go to overview tab-> take postgresql endpoint

    ii)Go to command prompt, do nslookup <endpointurl>

    iii)Take the ipaddress and whitelist this particular ip in your organizations firewall

    iv)Then check your ip and add this in the setting->networking->firewall rule

    iv)you can remove allow all ip 0000-255.255.255.255 from the firewall rules

     

    If this post helps, please accept this as a solution. Appreciate your kudos.

    Thanks,
    Pallavi