Thursday, January 10, 2019

[google-cloud-sql-discuss] Cloud SQL postgresql by Private IP not working

Hi,

I'm trying to setup a connection by private IP https://cloud.google.com/sql/docs/postgres/private-ip

Steps:
  1. Enabled Network Service API
  2. Created a new Postgresql Instance with Private IP: default network.
  3. This gives me a Public and Private IP address
  4. Whitelist Cloud Shell IP
  5. Start Cloud Shell and execute with Public Ip succeeds psql -U postgres -h
  6. Start Cloud Shell and execute with Private Ip times out psql -U postgres -h
Am I missing something?

--
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/aea47676-9a13-4b4a-adf8-ad7e49c7c598%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment