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

jbrekke
已提問 3 個月前檢視次數 128 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南