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.