Collapse AllExpand All

12.1. Update Your pg_hba.conf File

Your xTuple database runs on a PostgreSQL server, access to which is controlled by a file called pg_hba.conf. That file is described here: https://www.postgresql.org/docs/9.3/static/auth-pg-hba-conf.html.

At the end of the pg_hba.conf file are a number of lines that prevent unauthorized access of your database from outside of your network.

You will need to check this file to make sure that the proper settings are in place. After you change it you will need to reload the PostgreSQL configuration. The following steps describe how to edit and reload the pg_hba.conf file. These steps are aimed at users of Linux, and they will work in Terminal on Mac OS. If you use Windows, you may have other ways of editing the pg_hba.conf file and reloading your postgres configuration.