You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Cloud Developers
Hello,
I have a Cloud SQL Postgresql instance running.
Anyone who knows how to get/set the port on the instance is listening via CGP Console?
Best regards, Ronald
George (Cloud Platform Support)
unread,
Dec 25, 2018, 9:55:43 PM12/25/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Cloud Developers
Hello Ronald,
You may use the gcloud sql instances patch [INSTANCE_NAME] --assign-ip command to ad an IP address, as indicated on the "Configuring Public IP Connectivity" page. It all depends on where do you connect from; you can connect to a Cloud SQL instance using the following methods:
You may have a further look at the "Connecting to Cloud SQL from External Applications" documentation page. Most of the methods do not rely heavily on specific IP address configuration, and you can choose the method that best works for you.
Ronald Ruijs
unread,
Dec 31, 2018, 4:41:28 AM12/31/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Cloud Developers
Hi George,
Thanks for your reply. My question was how to get/set port number, not ip-address.
Can that be done using GCP Console and/or REST API?
Regards, Ronald
Op maandag 17 december 2018 17:36:33 UTC+1 schreef Ronald Ruijs:
yka...@google.com
unread,
Jan 3, 2019, 4:54:25 PM1/3/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Cloud Developers
Hello Ronald,
There is no way to set or get the port on your Postgres Cloud SQL instance through the API or the console since Cloud SQL uses the default PostgreSQL port, 5432.