Re: UNABLE TO CONNECT TO A DATABASE IN A WEB SERVER.

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: UNABLE TO CONNECT TO A DATABASE IN A WEB SERVER.
Date: 2010-05-27 06:53:07
Message-ID: 20100527065307.GB6907@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

In response to JORGE MALDONADO :
> 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.

Is that the real entry? If yes, so it is a wrong syntax...

Other question: there are no firewall between?

Regards, Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431 2EB0 389D 1DC2 3172 0C99

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Andreas Schmitz 2010-05-27 07:05:04 Re: UNABLE TO CONNECT TO A DATABASE IN A WEB SERVER.
Previous Message Joshua Tolley 2010-05-27 02:10:45 Re: UNABLE TO CONNECT TO A DATABASE IN A WEB SERVER.