Re: UNABLE TO CONNECT TO A DATABASE IN A WEB SERVER.
| От | A. Kretschmer |
|---|---|
| Тема | Re: UNABLE TO CONNECT TO A DATABASE IN A WEB SERVER. |
| Дата | |
| Msg-id | 20100527065307.GB6907@a-kretschmer.de обсуждение |
| Ответ на | UNABLE TO CONNECT TO A DATABASE IN A WEB SERVER. (JORGE MALDONADO <jorgemal1960@gmail.com>) |
| Список | 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
В списке pgsql-novice по дате отправления: