Database connection error while trying to install Pega 8.6 Personal Edition

Targets:Initialization,Database Server Installation,Data Load,Configuration,PRPC Launching
Buildfile: E:\PEGA\116984_PE8.6.0.\pegaGuiInstallerTemp\build.xml

Initialization:
[echo] Beginning installation of Pega Platform 8.6.0 Personal Edition – this process should take about 5-10 minutes …
[mkdir] Created dir: E:\PRPCPersonalEdition
[mkdir] Created dir: E:\PRPCPersonalEdition\temp
[unzip] Expanding: E:\PEGA\116984_PE8.6.0\pegaGuiInstallerTemp\PersonalEdition.zip into E:\PRPCPersonalEdition
[echo] Configuring Tomcat (Setting Java Home and Catalina Home)…
[replace] Replaced 0 occurrences in 0 files.
[replace] Replaced 1 occurrences in 1 files.
[replace] Replaced 2 occurrences in 1 files.
[replace] Replaced 1 occurrences in 1 files.

Database Server Installation:
[echo]
[echo] Waiting for Postgres to start…
Unable to connect to database – will retry in 1 second…
Unable to connect to database – will retry in 1 second…
Unable to connect to database – will retry in 1 second…
Unable to connect to database – will retry in 1 second…
Unable to connect to database – will retry in 1 second…

@BhuppuY1 This error is likely because of unavailablity of port.

Can you please refer to step 12 in doc listed under System Administration - Deploying Pega Platform- Installing the Pega Platform Personal Edition?

and try running again?

@BhuppuY1 If this version is not working try installing lower version

@BhuppuY1 It worked for me when I installed these Microsoft libraries Latest supported Visual C++ Redistributable downloads | Microsoft Learn .

@Oleg.Shepelev , Thanks it is working for me after installing https://aka.ms/vs/17/release/vc_redist.x64.exe