# Getting error in installing Pega 8.5.1Personal Edition

**URL:** <https://forums.pega.com/t/getting-error-in-installing-pega-8-5-1personal-edition/1215>\
**Category:** General\
**Tags:** 8-5-1, installation-and-deployment\
**Created:** [March 11, 2021, 6:15am UTC](https://forums.pega.com/t/getting-error-in-installing-pega-8-5-1personal-edition/1215 "2021-03-11T06:15:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![PUSHKARRAJ](https://avatars.discourse-cdn.com/v4/letter/p/839c29/32.png) [@PUSHKARRAJ](https://forums.pega.com/u/PUSHKARRAJ)\
**Post date:** [March 11, 2021, 6:15am UTC](https://forums.pega.com/t/getting-error-in-installing-pega-8-5-1personal-edition/1215/1 "2021-03-11T06:15:03Z")

</div>

I am getting PostGre database installation error while setting up Pega 8.5.1 Personal Edition.

Please error I got from logs:

Mar 11, 2021 11:28:08 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.  
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:265)

Can anyone know root cause of this and how to fix this.

---

<div class="post-metadata">

**Author:** ![PUSHKARRAJ](https://avatars.discourse-cdn.com/v4/letter/p/839c29/32.png) [@PUSHKARRAJ](https://forums.pega.com/u/PUSHKARRAJ)\
**Post date:** [March 18, 2021, 5:15am UTC](https://forums.pega.com/t/getting-error-in-installing-pega-8-5-1personal-edition/1215/2 "2021-03-18T05:15:42Z")

</div>

This issue is still not resolved. If some one has any solution, then please reply.

---

<div class="post-metadata">

**Author:** ![Anand\_Singh](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@Anand\_Singh](https://forums.pega.com/u/Anand_Singh)\
**Post date:** [April 12, 2021, 12:48pm UTC](https://forums.pega.com/t/getting-error-in-installing-pega-8-5-1personal-edition/1215/3 "2021-04-12T12:48:11Z")

</div>

@PUSHKARRAJ I am facing the same error. The Pega PE 8.5.1 worked well for first few attempts, but i wonder that after my system reboot it has stopped coming up with exact same error: -

12-Apr-2021 13:40:20.812 INFO [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource. Bootstrap datatables schema: data  
12-Apr-2021 13:40:22.866 SEVERE [localhost-startStop-1] org.postgresql.Driver.connect 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.

---

<div class="post-metadata">

**Author:** ![Ashwin](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@Ashwin](https://forums.pega.com/u/Ashwin)\
**Post date:** [April 26, 2021, 5:55pm UTC](https://forums.pega.com/t/getting-error-in-installing-pega-8-5-1personal-edition/1215/4 "2021-04-26T17:55:49Z")

</div>

@ANANDSINGH @[PUSHKARRAJ](https://collaborate.pega.com/users/PUSHKARRAJ) The problem was that it didn’t have VCRUNTIME140.dll. needed to run the DB. Just download and install “Visual C++ Redistributable for Visual Studio 2015”. This would install the library that is needed.

---

<div class="post-metadata">

**Author:** ![Anand\_Singh](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@Anand\_Singh](https://forums.pega.com/u/Anand_Singh)\
**Post date:** [May 3, 2021, 6:09pm UTC](https://forums.pega.com/t/getting-error-in-installing-pega-8-5-1personal-edition/1215/5 "2021-05-03T18:09:21Z")

</div>

@ANANDSINGH My issue got resolved by completely deleting the contents of following directory C:\PRPCPersonalEdition\tomcat\kafka-data , if you are using a VPN or dynamic IP, the IP address of you machine is cached by Kafka which creates this problem. Clean restart of Pega PE after clearing off this folder helped me.

---

<div class="post-metadata">

**Author:** ![SRIRAM\_SUNDAR](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/sriram_sundar/32/14253_2.png) [@SRIRAM\_SUNDAR](https://forums.pega.com/u/SRIRAM_SUNDAR)\
**Post date:** [May 25, 2021, 9:37am UTC](https://forums.pega.com/t/getting-error-in-installing-pega-8-5-1personal-edition/1215/6 "2021-05-25T09:37:10Z")

</div>

@PUSHKARRAJ are you still having the issue?
