Re: Connect to pg via tcpip - Mailing list pgsql-novice

From Joel Burton
Subject Re: Connect to pg via tcpip
Date
Msg-id Pine.LNX.4.30.0110191643420.22474-100000@temp.joelburton.com
Whole thread Raw
In response to Connect to pg via tcpip  (Stephane Pinel <spinel@noos.fr>)
List pgsql-novice
On Fri, 19 Oct 2001, Stephane Pinel wrote:

> I need to connect to a pgsql database from a remote place. I read the manual
> and made all the changes in pg_hba.conf etc... But it don't runs.
> Maybe someone could explain to me all the steps I have to complete ?

It's helpful to post error messages you receive rather than simply saying
it doesn't run.

The most likely problem is that you're not running the postmaster or
pg_ctl program w/TCP connections enabled. As a security precaution,
they're
disabled by default.

Either:

(a) add -o "-i" to your postmaster or pg_ctl command (for occasional TCP
use depending on startup)

or

(b) edit postgresql.conf to set tcpip_socket = true

HTH,

 --

Joel BURTON  |  joel@joelburton.com  |  joelburton.com  |  aim: wjoelburton
Independent Knowledge Management Consultant


pgsql-novice by date:

Previous
From: "Brett W. McCoy"
Date:
Subject: Re: Connect to pg via tcpip
Next
From: Jason Davis
Date:
Subject: Re: ecpg and multiple connections