Azure Synapse Analystic pipeline: The TCP/IP connection to the host has failed
I have a pipeline that calls to execute pipeline activity each date from a date range which is input as parameters. But I don't know why I got an issue below while my SQL pool still queries successfully in SSMS.
Operation on target DF_XX failed: {"StatusCode":"DF-MSSQL-InvalidFirewallSetting","Message":"Job failed due to reason: at Source 'sourceXXX': The TCP/IP connection to the host has failed. 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.","Details":"java.lang.RuntimeException: Cannot connect to SQL database: 'jdbc:sqlserver://xxx-001.sql.azuresynapse.net;database={xxx_001}', 'Managed Identity (factory name): xxx-001'.[SQL Exception]Error Code:0, Error Message: The TCP/IP connection to the host xxx-001.sql.azuresynapse.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.\"., error stack:shaded.msdataflow.com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:234)\nshaded.msdataflow.com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:285)\nshaded.msdataflow.com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2466)\nshaded.msdataflow.com.microsoft.sqlserver.jdbc.TDSChannel.open(IOBuffer."}
RunID: 4ba2d4bb-c810-4d88-9337-e852b91fbc92