Spring Boot Application gets stuck on "Hikari-Pool-1 - Starting..." Spring Boot Application gets stuck on "Hikari-Pool-1 - Starting..." postgresql postgresql

Spring Boot Application gets stuck on "Hikari-Pool-1 - Starting..."


Normal postgresql port is 5432, so I assume you also configured it to 55491.

Double check this via your postgresql client using psql -h 127.0.0.1 -p 55491 -d TodoAppDatabase -U admin

At last you can put the HikariCP into DEBUG mode, so you can see what parameters its using.

If your properties file is really apllication.properties than this may also an issue because spring boot only picks up application.properties automatically.


Making below change in application.properties should work fine:

spring.datasource.url=jdbc:postgresql://localhost:5432/<dbName>

Also make sure, you have Fixed Port Number box unchecked, in the pgAdmin configuration BOX, refer the screenshotenter image description here


It might not be able to connect to DB.try restarting your DB instance and make sure it is accessible.