# Unable to connect to PostgreSQL despite configuration

**URL:** https://meta.discourse.org/t/unable-to-connect-to-postgresql-despite-configuration/154449
**Category:** Self-hosting
**Tags:** unsupported-install
**Created:** [June 10, 2020, 7:35pm UTC](https://meta.discourse.org/t/unable-to-connect-to-postgresql-despite-configuration/154449 "2020-06-10T19:35:22Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [June 10, 2020, 7:51pm UTC](https://meta.discourse.org/t/unable-to-connect-to-postgresql-despite-configuration/154449/2 "2020-06-10T19:51:12Z")

</div>

> [@Crell](#):
>
> Of note, it’s trying to connect over a local socket. However, `config/discourse.conf` specifically lists a PostgreSQL instance to connect to by host and port, with username/password. (The same credentials I use to connect manually.)

Why are you looking into this file? Is this a production install using [Discourse official Standard Installation](https://meta.discourse.org/t/discourse-official-standard-installation/142537)?

---

_[View the full topic](https://meta.discourse.org/t/unable-to-connect-to-postgresql-despite-configuration/154449)._
