You are unable to connect to the POM database, as the port number is incorrect.
Proposed solution
Procedure
Verify the port number for the database connection. The default port number is 5432 for Postgres database, 1433 for MSSQL database, and 1521 for Oracle database.