Trouble with H2 Web Console

22 views
Skip to first unread message

joxaren

unread,
Oct 19, 2022, 8:09:20 AM10/19/22
to H2 Database
I have a springboot app, and I'm using an embedded h2 database 1.4.200.
I can access the h2 web console itself just fine, and testing the connection returns successful. When I click "Connect", however, I get ERR_CONNECTION_RESET after a few seconds.
The springboot app reads and writes from and to the database just fine as well. What could be the problem?

Here's my db config from application.properties:
spring:
h2:
console:
enabled: true
path: /h2
settings:
web-allow-others: true
trace: false

datasource:
url: jdbc:h2:file:./data/h2
username: sa
password:
driverClassName: org.h2.Driver

Reply all
Reply to author
Forward
0 new messages