Azure Web API connection issues to AWS SQL Server

0

Has anyone connected an Azure Web API to an AWS SQL Server?

I'm trying to determine why my Azure Web API isn't able to communicate with my new AWS SQL Server database. I previously was connected to an Azure SQL Server database (which was working without issue), but needed to change to an AWS-based SQL Server database. I'm able to connect to the AWS SQL Server database via SQL Server Management Studio, and I'm able to successfully test my project methods locally. However, after I've deployed my static site live to a Digital Ocean App, it appears I'm getting connectivity issues when it attempts to call the API and retrieve from the AWS db. I suspect I need to whitelist/firewall an IP, but I'm not sure where to go about doing that in AWS.

Error message retrieved from the Log Stream in Azure on the Web API: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)

I appreciate and thoughts or suggestions you might have.

Thanks,

Josh

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions