Lesson Learned #216: Hands-On-Labs: How redirect connection policy type works

This post has been republished via RSS; it originally appeared at: Microsoft Tech Community - Latest Blogs - .

We used to have cases where our customers asked questions about redirect connection type policy:

 

  • How works?
  • What is the configuration needed and errors message related about an incorrect setup, etc.. 

In this video below we going to provide us some insights about it. 

 

Well, basically, we are to cover How redirection works? based on this article: Azure SQL Database connectivity architecture - Azure SQL Database and Azure Synapse Analytics | Microsoft Docs

 

  • The first connection is made against 1433 and Gateway (servername.database.windows.net)
  • The second connection is made against, for example, 11019 and node (redirectedservernode.TenantRing.region.worker.database.windows.net) that is running your Azure SQL Database, everything is transparent for application.

 

Finally, we are going to produce some connectivity issues, as follows:

 

  • Network issues by DNS incorrect configuration or network issue:
    • 10060-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.
  • The redirect port is blocking by firewall:
    • The TCP/IP connection to the host redirectedservernode.tenantring.region.worker.database.windows.net (redirected from servername.database.windows.net), port 11019 has failed. Error: "Permission denied: connect
    • The TCP/IP connection to the host servername.database.windows.net, port 1433 has failed. Error “The Timeout expired before connecting to the routing destination”.
    • 10013-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 - An attempt was made to access a socket in a way forbidden by its access permissions.)
    • 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.

 

Enjoy!

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.