postgresql-logo

Step 1

Edit file:

Add a line with your IP or mask, like for example:

Step 2

Edit file:

Uncomment line:

And replace localhost with * to listen on all interfaces. If you know the IP, just write it here.

Step 3

Restart Postgres:

Now you should be able to connect from a remote host, for example with pgAdmin III:

pgAdmin connection example