title: Cannot connect to h2 database in Intellij
body: <p>I´m trying to follow this tutorial <a href="https://www.javacodegeeks.com/2018/08/restful-api-spring-rest-data-jpa-h2.html" rel="nofollow noreferrer">tutorial</a> in Intellij IDEA but when i try to connect to h2 database the console trowns me an error:</p>
  
  <pre><code> Connection is broken: "java.net.ConnectException: Connection refused: connect: localhost:9092" 
          java.net.ConnectException: Connection refused: connect.
  </code></pre>
  
  <p>What i need to do to make the connection?</p>
  
  <p>Thanks in advance</p>
  
  <p><a href="https://i.stack.imgur.com/As3IL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/As3IL.png" alt="enter image description here"></a></p>