UNABLE TO CONNECT TO A DATABASE IN A WEB SERVER. - Mailing list pgsql-novice

From JORGE MALDONADO
Subject UNABLE TO CONNECT TO A DATABASE IN A WEB SERVER.
Date
Msg-id AANLkTikCEeGjmrvcOwpsZp0_IYz9_qlg5Af_tRjt_u5E@mail.gmail.com
Whole thread Raw
Responses Re: UNABLE TO CONNECT TO A DATABASE IN A WEB SERVER.  (Joshua Tolley <eggyknap@gmail.com>)
Re: UNABLE TO CONNECT TO A DATABASE IN A WEB SERVER.  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Re: UNABLE TO CONNECT TO A DATABASE IN A WEB SERVER.  (Andreas Schmitz <mailinglist@longimanus.net>)
List pgsql-novice
I am writing a web app which should connect to a database in a server within my personal network but I am having trouble. I get the following error message:
 
There is no record on pg_hba.conf for 192.168.1.77, user postgres, database restaurant, SSL inactive.
 
I have checked the configuration files on the server machine as follows:
* The listen_addresses parameter in postgresql.conf equals *.
* The pg_hba.conf has an entry of type=host, database=all, user=all, IP-Address=192.168.1.77/32, Password=md5.
 
I have tried changing the IP-Address to 192.168.1.0/24 and 192.168.0.0/16; also I tried Password=Trust and Password=Password.
 
What else can I check?
 
Respectfully,
Jorge Maldonado

pgsql-novice by date:

Previous
From: Sean Davis
Date:
Subject: Re: Adding of indexes, best practises
Next
From: Tony Day
Date:
Subject: Re: UNABLE TO CONNECT TO A DATABASE IN A WEB SERVER.