Im trying to connect my database in my instanc, the thing its a I have locate my database in aws as
database-1.xxxxxxxx6.us-east-1.rds.amazonaws.com
When I run nc in my computer the connections works
nc -zvdatabase-1.xxxxxxxx6.us-east-1.rds.amazonaws.com 3306
Connection todatabase-1.xxxxxxxx6.us-east-1.rds.amazonaws.com port 3306 [tcp/mysql] succeeded!
but I got a error when I run the nc from google cloud
port 3306 (tcp) failed: Connection timed out
I also created a firewall Rule but still it doesnt work
Hello takeshi.
I suggest running the test again with the network connectivity test tool https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview
It will hopefully give you some useful information that you can use to further troubleshoot. If you want you can reply back with your findings and I'll try to assist you further.