Unable to connect to Microsoft SQL Database from AEM Sandbox --connection timed out error | Community
Skip to main content
Level 2
August 28, 2023

Unable to connect to Microsoft SQL Database from AEM Sandbox --connection timed out error

  • August 28, 2023
  • 1 reply
  • 2693 views

Hi,

 

We are connecting to MS SQL Database from AEM sandbox(using AaaCS). In order to successfully establish connection between AEM and DB , we have whitelisted AEM public IP address on Azure . We are getting below error even after whitelisting.

com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host {projectname}.database.windows.net, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall."

 

Is there anything that we are missing here. Please help.

 

Thanks,

Divya

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Harwinder-singh
Community Advisor
Community Advisor
August 28, 2023
durga_kavali
Level 3
August 30, 2023

@harwinder-singh  

we are facing similar issue in my project and ours is sandbox program.

Could you please confirm if we can connect to database or external services from a sandbox program since our project  is hosted in a sandbox environment?

 

Thanks,

Durga.

durga_kavali
Level 3
August 30, 2023

@aanchal-sikka @arunpatidar @Mahedi_Sabuj @sherinregi-1  any idea if we can connect to external services or  database(azure) from aem sandbox program ? please suggest

 

Thanks,

Durga Kavali.