Re: Postgres-JDBC question

From: Guillaume Cottenceau <gc(at)mnc(dot)ch>
To: Sean <sean(dot)conlon(at)4expertsolutions(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Postgres-JDBC question
Date: 2006-01-30 09:51:43
Message-ID: 873bj66o28.fsf@meuh.mnc.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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(at)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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Gilbert, Antoine 2006-01-30 16:59:16 encoding question
Previous Message Guillaume Cottenceau 2006-01-30 09:39:54 Re: error note