From Fedora Project Wiki
Test that the database server role is remotely accessible by default.
- Install the Fedora Server release you wish to test on a machine and install the database server
- On a second machine (the client) on the same network as the first, install the
How to test
- From the client, attempt to access the database server using the account and password you used when deploying the role, e.g.
psql -U db_owner -h (server_hostname)
- The connection attempt should succeed and leave you connected to the server and able to perform normal operations (queries, table creation etc.)