Postgres, Connections to all databases refused

Mad Machine
2 min readFeb 25, 2022

I was recently asked to look at an interesting problem in which nothing can connect to Postgres — to any databases managed by Postgres. All connecting clients would get this rejection error message:

[postgres@svsdssib09 ~]$ psql -d postgres -c '\l'
psql: FATAL: database "postgres" is not currently accepting connections

Connections to any database, including the template0 and template1, were rejected.

Searching Google and other search engines, you could find bits and pieces of information, but…

--

--

Mad Machine

I’m a DevOps engineer, but I love to tinker with all kinds of technologies.