I´m trying to follow this tutorial tutorial in Intellij IDEA but when i try to connect to h2 database the console trowns me an error:
Connection is broken: "java.net.ConnectException: Connection refused: connect: localhost:9092"
java.net.ConnectException: Connection refused: connect.
What i need to do to make the connection?
Thanks in advance
Change connection type from "Remote" to "In-memory"
The problem is with the url, it needs to path to your app: jdbc:h2:file:C:\Users\romul\IdeaProjects\raspberryAwards;MV_STORE=false;AUTO_SERVER=TRUE
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With