title: H2-Console is not showing in browser
body: <p>I am working on SpringBoot api and using H2 database with following property settings.  </p>
  
  <pre><code>spring.h2.console.enabled=true
  spring.datasource.name=test
  spring.datasource.username=sa
  spring.datasource.password=
  spring.datasource.driver-class-name=org.h2.Driver
  spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
  spring.datasource.initialization-mode = embedded
  spring.datasource.url=jdbc:h2:mem:test
  spring.jpa.hibernate.ddl-auto = update
  </code></pre>
  
  <p>When I want to use browser to view the H2 database console through '<a href="http://localhost:8082/h2-console" rel="noreferrer">http://localhost:8082/h2-console</a>', a screen open in browser with connect and test connection button. When I click on Test Connection, it returns successful but when click on Connect button, error comes that localhost refused to connect.</p>
  
  <p><a href="https://i.stack.imgur.com/Lt8bX.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Lt8bX.png" alt="Here is the screen of that error"></a></p>