Re: Remote connection via psql - Mailing list pgsql-general

From scott.marlowe
Subject Re: Remote connection via psql
Date
Msg-id Pine.LNX.4.33.0209040908220.12216-100000@css120.ihs.com
Whole thread Raw
In response to Re: Remote connection via psql  (Francois Suter <dba@paragraf.ch>)
List pgsql-general
On Wed, 4 Sep 2002, Francois Suter wrote:

> > Francois Suter <dba@paragraf.ch> writes:
> >> psql -d dbname -U username -h 192.168.1.2
> >> I get the following message: "psql: unknown host name: 192.168.1.2"
> >
> > Works fine here.  What PG version is this, what platform, etc?
>
> PG version is 7.2.1, platform is Mac OS X 10.1.5, network uses a router that
> serves as a DHCP server, but the dev server mentioned here as a fixed IP
> (i.e. 192.168.1.2).

Try putting an entry in your /etc/hosts (does OS X have one of those?  It
is BSD, but who knows what might be different) for the server and give it
a name and see if you can get a connect then.


pgsql-general by date:

Previous
From: Greg Copeland
Date:
Subject: Archives DB is down?
Next
From: Patrick Bakker
Date:
Subject: split(...) style functions