Rishabh-Pandey
Databricks MVP

@plakshmi 

1-Double-check your JDBC connection string. It should look something like this 

jdbc_url = "jdbc:sqlserver://<your_sql_server_ip>:1433;databaseName=<your_database>;user=<your_username>;password=<your_password>"

 

2-Ensure that there are no firewall rules blocking inbound/outbound traffic on port 1433. Both the SQL Server machine and any intermediate firewalls must allow traffic on this port.

3-Make sure TCP/IP is enabled.

4-Ensure that your SQL Server instance is running and accessible. You can check this by connecting to it using SQL Server Management Studio (SSMS) from the same network where Databricks is hosted.

Rishabh Pandey

View solution in original post