I tried to connect H2 database using eclipse and when i try to connect it gives below error.
org.h2.jdbc.JdbcSQLNonTransientConnectionException: Connection is broken: "java.net.SocketTimeoutException: connect timed out: localhost:12345" [90067-200]
connect timed out
connect timed out
My connection settings
H2 Server,
Please help me to fixed this issue.
You must start the h2 server with
-tcp
option.For example:
You can also use extra options like:
Without
-tcp
you can get problems.