Unable to connect to server:

could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host “localhost” (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host “localhost” (127.0.0.1) and accepting
TCP/IP connections on port 5432?

@vijayh56 please can you go through the Pega Academy FAQ pages, where there is a section dedicated to troubleshooting VM errors:

Managing your pega instance

If you are experiencing technical issues with a module quiz or mission test contact the Pega Academy support team.

@MarijeSchillern

Still we are unable to connect the pgadmin4

@vijayh56 your question is very confusing as you have given us no details about what product or platform you are referring to.

Your reference to pgAdmin4 makes it sound as though you are in fact using Personal Edition.

The “Connection refused” error in pgAdmin4 might be due to incorrect configuration or the PostgreSQL server not accepting connections. Please ensure that the hostname, port, and credentials are correct. Additionally, check the ‘pg_hba.conf’ file to ensure it allows connections from your IP address, and the ‘postgresql.conf’ file to ensure the ‘listen_addresses’ parameter is set to accept connections. If the issue persists, consider restarting the PostgreSQL server or checking for any firewalls blocking the connection.

PVS 7.1.9 databse connection with postgresSQl9.3 using pgadmin4

org.postgresql.util.PSQLException: Connection to localhost:5432 refused.

Pega 8.7 personal edition installation error-unable to connect to db

Pega 8.7 Personal Edition Installation error : Unable to connect to database

**** EDIT ***

I can see from another post that you submitted as duplicate later in the day that you found the solution yourself:

Solution:

https://www.microsoft.com/en-US/download/details.aspx?id=48145

  1. click the above link and install the softwares

  2. Uninstall the PEGA Software & after that install the PEGA 8.7 software

Note:

Details about installing the Visual C++ Redistributable for Visual Studio 2015 already exist on previous forum questions.

https://support.pega.com/question/connection-localhost5432-refused-check-hostname-and-port-are-correct-and-postmaster-1

https://support.pega.com/question/build-failed-personal-edition

https://support.pega.com/question/pega-87-personal-edition-installation-error

https://community.pega.com/support/support-articles/71-personal-edition-installation-error

Personal Edition has been retired as announced here and the product is no longer available for download from our My Software portal

@vijayh56 Hi VIjay,

can you confirm if this is for a Pega Academy training VM, or a production issue?