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 connections
2) 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
abase-188317/instances/question-mysql/createEphemeral?alt=json: Post
https://acconnectex: No connection could be made because the target machine actively refuse
d it.
onnectex: No connection could be made because the target machine actively refuse
d it.