[Haskell-cafe] Yesod app uses wrong port when connecting to PostgreSQL
dct25-561bs at mythic-beasts.com
Mon Mar 6 20:25:12 UTC 2017
It may help to know that libpq also looks to environment variables to get
its config: https://www.postgresql.org/docs/9.3/static/libpq-envars.html
(Apologies for the double mail, I failed to CC the list in the first time)
On 6 Mar 2017 19:55, "Geraldus" <heraldhoi at gmail.com> wrote:
> Hi folks!
> I'm struggling with following error:
> libpq: failed (could not connect to server: Connection refused
> Is the server running on host "localhost" (127.0.0.1) and accepting
> TCP/IP connections on port 5432?
> I see such messages in Keter's log (in app folder). The VPS where the app
> deployed running PostgreSQL 9.6 on port 5433. I have changed default port
> - config/settings
> - config/keter.yaml
> - /opt/keter/etc/postgres.yaml on server side
> None of these steps helped. I wasn't able to find other port configuration
> places. What else can I do?
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe