30/09/2020

Postgres ECONNREFUSED on 127.0.0.1

Postgres fails to start properly if there's an obsolete postmaster running and services fail to connect to it so just remove the pid if it exists to make the service create a new process.

rm -f /usr/local/var/postgres/postmaster.pid

Have something you want me to write about or have a comment on one of my posts? You can send an email to ahoy@barelyhuman.dev