Wednesday, July 3, 2019

[google-cloud-sql-discuss] Can't connect to Postgres Google Cloud SQL via psql

I followed the steps in this guide: https://cloud.google.com/sql/docs/postgres/connect-admin-ip

When I enter
psql "sslmode=disable dbname=postgres user=postgres hostaddr=[INSTANCE_IP]"

I get 
psql: could not connect to server: Connection timed out (0x0000274C/10060)
        Is the server running on host "INSTANCE_IP" and accepting
        TCP/IP connections on port 5432?

I have white listed my IP address and added a user which I am using to connect.

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/9f051995-ad5e-4f62-84c8-a46e8733f886%40googlegroups.com.

No comments:

Post a Comment