简体   繁体   中英

Add IPv6 To Google Cloud SQL Whitelist / Authorization

How do I add a IPv6 to my authorized/whitelisted networks for Google Cloud SQL?

Click to see Screenshot of error

Is the Cloud SQL instance you're using 1st or 2nd generation?

2nd generation Cloud SQL instances do not support IPv6 , as per stated in the official documentation that you can check here .


EDIT:

There is an existing feature request on the Google Issue Tracker to add CloudSQL v2 instances support for whitelisting IPv6 . You can check the status of the request by following this link . You can use the “star” on the top left corner to get updates on the state of the request.

As a workaround, what you can do is to configure authentication based on a client certificate and connect using IPv4 . You can use a web service like config.me to get your IPv4 address by running this command: $ curl --ipv4 ifconfig.me

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM