Can you let me know the below:
Which OS is running on your local machine?
Can you try to connect from a different network and check whether you still get the same issue?
You can also try to troubleshoot the connection by following the steps stated in this document.
On Thursday, December 14, 2017 at 9:05:39 AM UTC-5, Shanmugapriyan Murugesan wrote:
I am trying to run node application on local machine using cloud_sql_proxy.exe. I have created Cloud sql instance & it is running fine in Google cloud.Step I followed for running node application:1) starting cloud sql proxy in local machine, using below command:command: cloud_sql_proxy.exe -instances=instance-connection-nameXXXXXXXX=tcp: 3306 output:2017/12/14 11:12:37 Listening on 127.0.0.1:3306 for instance-connection-nameXXXXXXXX 2017/12/14 11:12:37 Ready for new connections2) Running my node application.3) Getting error on cloud_sql_proxy terminal:2017/12/14 11:14:49 New connection for instance-connection-nameXXXXXXXX 2017/12/14 11:14:49 New connection for instance-connection-nameXXXXXXXX 2017/12/14 11:14:50 Throttling refreshCfg(instance-connection-nameXXXXXXXX): it was only called 2.0001ms ago 2017/12/14 11:14:50 couldn't connect to instance-connection-nameXXXXXXXX: Post https://www.googleapis.com/ sql/v1beta4/projects/ questionsdat abase-188317/instances/question-mysql/ createEphemeral?alt=json: Post https://acc ounts.google.com/o/oauth2/token : proxyconnect tcp: dial tcp 192.168.56.1:8888: connectex: No connection could be made because the target machine actively refused it.2017/12/14 11:14:50 couldn't connect to instance-connection-nameXXXXXXXX: Post https://www.googleapis.com/ sql/v1beta4/projects/procet_ : Post https://accid-XXXXXX/instances/instance_ name-XXXXX/createEphemeral? alt=json ounts.google.com/o/oauth2/token : proxyconnect tcp: dial tcp 192.168.56.1:8888: connectex: No connection could be made because the target machine actively refused it.
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/58b82c72-bb41-45c9-b682-21b7186e59d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment