[Pkg-postgresql-public] Postgresql refuse TCP/IP connections

Martin Pitt mpitt at debian.org
Tue Apr 25 06:56:17 UTC 2006


Hi Michelle,

Michelle Konzack [2006-04-22 23:14 +0200]:
> psql: FATAL:  no pg_hba.conf entry for host "192.168.0.71", user "mi
> chelle.konzack", database "template1", SSL off
                                         ^^^^^^^

> host      all   all       0.0.0.0           0.0.0.0           reject

So in your case this line applies which rejects *all* TCP connections.
You probably want 'hostnossl' here.

> hostssl   all   all       192.168.0.64/192                    md5

This is an invalid CIDR mask. For IPv4 (32 bits) this must be in the
range of 0 to 32 (number of bits) or a netmask (e. g. 255.255.255.0).

Martin
-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20060425/a9afbaf9/attachment.pgp


More information about the Pkg-postgresql-public mailing list