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
Solved! Go to Solution.
A. Is the SQL server hosted in GCP? If not - Browser probably won't work - move to IP. Rational - different networks and broadcast domains.
B. If so, have you applied a label and ensured firewall access,
C. If A and not to B, recommend you create a Serverless Connector Connect to a VPC network | Cloud Run Documentation | Google Cloud
A. Is the SQL server hosted in GCP? If not - Browser probably won't work - move to IP. Rational - different networks and broadcast domains.
B. If so, have you applied a label and ensured firewall access,
C. If A and not to B, recommend you create a Serverless Connector Connect to a VPC network | Cloud Run Documentation | Google Cloud
Hi, Thank you for your response connect to a vpc network worked to me