| From: | Richard Broersma Jr <rabroersma(at)yahoo(dot)com> |
|---|---|
| To: | Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>, Vinicius Carvalho <java(dot)vinicius(at)gmail(dot)com> |
| Cc: | pgsql-novice(at)postgresql(dot)org |
| Subject: | Re: Cannot connect though socket |
| Date: | 2006-08-07 03:13:56 |
| Message-ID: | 20060807031356.70527.qmail@web31801.mail.mud.yahoo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
> > # IPv4 local connections:
> > host all all 0.0.0.0 0.0.0.0 password
> > host all all 127.0.0.1/32 trust
> >
> > Well, although I can connect using psql from a command line, the same
> > cannot be said by a jdbc connection or a pgadmin3 interface. I've
> > checked postgres.conf and it has the port=5432 uncommented (isn't this
> > enough to allow socket connections?).
Also I would check that the postmaster is started with the -i option.
http://www.postgresql.org/docs/8.1/interactive/app-postmaster.html
it allows tcp/ip connections to your server.
Also, I am not sure if your IP/net mask specified will allow you to connect from a remote
computer. I would try setting this to a different value. <your client ip> <255.255.255.0> allow
all ip within that sub-net.
Regards,
Richard Broersma Jr.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2006-08-07 03:44:55 | Re: Cannot connect though socket |
| Previous Message | Sean Davis | 2006-08-07 00:31:42 | Re: Cannot connect though socket |