Can we make a connection to the azure postgres DB from outside of Azure network

Sandeep Kumar Sharma 20 Reputation points
2023-12-04T20:09:19.2266667+00:00

We are using postgreSQL DB and would like to connect to it from our PC directly instead of jumping onto the Azure bastion and then Azure VM to make connection to the DB inorder to run any query.

Is it possible to do connect using DB visualizer ? is there a tutorial to do the same anywhere ?

Azure Database for PostgreSQL
0 comments No comments
{count} votes

Answer accepted by question author
  1. GeethaThatipatri-MSFT 29,587 Reputation points Microsoft Employee Moderator
    2023-12-04T21:57:21.97+00:00

    Hi @Sandeep Kumar Sharma Welcome to Microsoft Q&A thanks for posting your question

    Yes, it is possible to connect to an Azure PostgreSQL server from outside of the Azure network. You can use the PostgreSQL Instance endpoint to connect to the PostgreSQL server from your favorite tool such as DB visualizer, Azure Data Studio, pgcli, psql, pgAdmin, etc.

    Steps you can follow from PGAdmin

    User's image

    Regards

    Geetha

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.