User16873043099
Databricks Employee
Databricks Employee

"Caused by: java.net.SocketTimeoutException: connect timed out" indicate the network connection between Databricks cluster and the postgress database on 5432 port was not established and eventually timed out.

As a first step, please ensure the connection between DB cluster and postgres works fine

To test the connectivity, you can run below on a notebook or web terminal

%sh nc -v <postgres host> 5432