Re: Connecting to postgres from a romote machhine

From: Richard Huxton <dev(at)archonet(dot)com>
To: nadiak(at)parkerglobal(dot)com (N(dot)K(dot)), pgsql-general(at)postgresql(dot)org
Subject: Re: Connecting to postgres from a romote machhine
Date: 2003-09-13 20:16:01
Message-ID: 200309132116.01103.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thursday 11 September 2003 21:42, N.K. wrote:
> Hi, I've just installed postgres on the Linux server. It is supposed
> to start automatically which I think it does since I can run an sql
> stmt right away. When I'm trying to connect from a remote machine I
> get a message that the remote machine IP address is not specified in
> pg_hba.conf, that there is no record of that machine there.
> ph_hba.conf is set up correctly, because when I run the following:
> postmaster -i -D /var/lib/pgsql/data
> from the command line, I'm able to easily connect to postgre from the
> remote machine.
> What's the deal here? It's probably how postgres is started.
>
> here is my startup script:

Assuming this is the startup script that ships with PG, you probably want to
look in your postgresql.conf file and check the tcp_ip setting is on.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2003-09-13 20:17:58 Re: I need examples of stored procedures returning datasets
Previous Message Richard Huxton 2003-09-13 20:14:43 Re: PostGreSql database features questions