Thursday, March 25, 2021

[google-cloud-sql-discuss] Unable to connect to CloudSQL Postgres Instance with Private IP

I'm getting the below error message when I'm trying to connect to a new CloudSqL instance through cloud shell.

ERROR: (gcloud.sql.connect) It seems your client does not have ipv6 connectivity and the database instance does not have an ipv4 address. Please request an ipv4 address for this database instance.

Networking has been setup to use a private service connection.  I set this connection to a shared VPC.  I see "Private connection to service" connection and it's attached to an internal range but I cannot connect and get the above error.  Any help or direction would be great.  Thank you

--
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/cae63202-1d77-42f3-bd57-f6af3cb2a7f1n%40googlegroups.com.

No comments:

Post a Comment