I'm trying to host my dot net api services in cloud run ,I have containerised the services by docker and pushed that container to container registry and used the images in cloud run and deployed. An url is generated when I hit that it is saying "CANNOT CONNECT TO SQL SERVER BROWSER .ENSURE SQL SERVER BROWSER HAS BEEN STARTED" NOTE: The same container is working fine in local and I'm able to fetch data. Please help me out I have already tried vpc connector as well still not able to understand the issue
*SQL is hosted in a vm
Could you please clarify you able to access SQL runs on VM from your local (like SQL client)?
We are able to access from local and from docker container as we only facing issue when we deploy same container in cloud run
If SQL is hosted on GCE/VM with external IP and firewall configured to allow ingress traffic from internet (like 0.0.0.0/0), you should able to access from cloud run.
I recommend to check firewall rule and external IP.
We have checked and created a vpc connector as well