Not able to install Pega Personal edition, tried in multiple laptops but having same issue.
Aug 10, 2021 12:59:21 AM org.postgresql.Driver connect
SEVERE: Connection error:
org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
1. This is first time installation and the idea of older pega versions will not be applicable(might not be below issue).
Above highlighted could change based on the personal edition installation.
Solution 2: installing the Microsoft Visual C++ 2015 Redistributable Update 3 RC program.
The issue may be that the pg_ctl executable is not able to run due to the VCRUNTIME140.dll being missing in the Windows System. This error is not exclusive of the pg_ctl command but it seems to be common for other programs that need that DLL to run correctly.
Check this links for more details about this error: