From: Guillaume Cottenceau <gc@mnc.ch>
To: Sean <sean.conlon@4expertsolutions.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Postgres-JDBC question
Date: 30 Jan 2006 10:51:43 +0100
Message-ID: <873bj66o28.fsf@meuh.mnc.lan> (raw)
In-Reply-To: <1138387282.28241.45.camel@archimedes>
References: <20060127143144.55A805AF173@svr4.postgresql.org>
<1138387282.28241.45.camel@archimedes>
Mark Lewis <mark.lewis 'at' mir3.com> writes:
> This usually means that you have allowed TCP/IP connections in
> postgresql.conf, but haven't added a rule allowing remote access in
> pg_hba.conf for anything other than localhost.
Sean - on Linux, you can check this with the following command:
[root@meuh ~] netstat -ltpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN 3310/postmaster
^^^ my postgres is listening on all addresses
[...]
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3259/master
^^^ my postfix is listening on localhost only
--
Guillaume Cottenceau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: gc@mnc.ch, sean.conlon@4expertsolutions.com
Subject: Re: Postgres-JDBC question
In-Reply-To: <873bj66o28.fsf@meuh.mnc.lan>
References: <20060127143144.55A805AF173@svr4.postgresql.org> <1138387282.28241.45.camel@archimedes> <873bj66o28.fsf@meuh.mnc.lan>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox