In application.properties, add following setting.
spring.h2.console.settings.web-allow-others=true
In my case, it works.
In application.properties, add following setting.
spring.h2.console.settings.web-allow-others=true
In my case, it works.