DBXC
Contributor

try the following to check connectivity between Databricks and your DB server

%sh ping servername

%sh ping IP_Of_your_server

If no connectivity, you would need to check your firewall / vNet and DNS mapping as Databricks takes fully qualify DNS instead server name with ports (assuming this is how you access your DB server "locally" in your network)