From: | "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com> |
---|---|
To: | Francois Suter <dba(at)paragraf(dot)ch> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Remote connection via psql |
Date: | 2002-09-04 15:09:06 |
Message-ID: | Pine.LNX.4.33.0209040908220.12216-100000@css120.ihs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, 4 Sep 2002, Francois Suter wrote:
> > Francois Suter <dba(at)paragraf(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Lam | 2002-09-04 15:40:06 | libpq question... |
Previous Message | Greg Copeland | 2002-09-04 15:06:27 | Archives DB is down? |