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

没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则