Reputation: 369
I have an instance of PostgreSQL 11 in GCP as Cloud SQL. I want to connect pgAdmin to the server but I don't know to what port. Where can I see that?
I don't want to specify my ip adress for the server and I whitelisted all the connections to the server by putting 0.0.0.0/0 as an ip in the gcp console.
Upvotes: 2
Views: 4117
Reputation: 533
Multiple methods can be used to connect Cloud SQL to external applications such as pgAdmin. Here is the documentation covering all the methods and the steps to follow. Since you do not wish to specify your ip address, then using the proxy might be a good alternative. Documentation guidelines for that method can be found here, but here is a quick summary:
Upvotes: 2