So, I have a local server and remote server.
spring:
datasource:
driverClassName: org.h2.Driver
url: jdbc:h2:mem:mydb;MODE=PostgreSQL;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
username: root
password:
jpa:
properties:
hibernate:
dialect: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: create-drop
flyway:
enabled: false
h2:
console:
enabled: true
settings:
web-allow-others: true
How I can to connect via h2-console to remote server like in localhost?