...
And add this line to the bottom of the file where 192.168.0.0/16 is reflective of your particular network range. In this example, we are saying to allw allow any computer on the local network (in this case subnet 192.168.x.x) to connect to any database. The md5 indicates that the user must also supply a password.
...
Restart the postgres service,
Code Block | ||
---|---|---|
| ||
sudo /etc/init.d/postgresql-8.4service postgresql restart |