While Fedora 43 has a fairly clean look, it once again goes to great lengths to be “expert friendly.” This particular battle has to do with Postgresql. Regular readers may recall my post about getting Postgresql to install and run on Fedora 33. Most of that post is still relevant.
fedora 43 postgresql Error: connection to server at “localhost” (::1), port 5432 failed: FATAL:
Yeah, most of you found this post because of that error. With the exception of PCLinuxOS, the RPM based distro world has a fetish for not playing nice with others. When you choose to do something none of the popular distros do, you should at least have the decency to spit out a message during installation.


The “defaults” used by most platforms are commented out on Fedora 43. You need to tell Postgresql to listen to localhost on port 5432, where everybody looks for it.
That is Still Not Enough
Even after you change that and reboot you still cannot connect over local host using a password. Search your system for
pg_hba.conf
The default in this script is to use ident for the two now changed to md5. Change to md5, save, and reboot.
You should finally be able to connect with your database.
One thought on “Fedora 43 and Postgresql”