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

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠