Skip site navigation (1) Skip section navigation (2)

Re: Host problem

From: Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>
To: PostgreSQL novice mailing list <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Host problem
Date: 2000-08-26 20:23:10
Message-ID: 20000826162310.A1714@klamath.dyndns.org (view raw or flat)
Thread:
Lists: pgsql-novice
On Sat, Aug 26, 2000 at 11:56:15AM -0700, Fredrick Bartlett wrote:
> I have configured the folllowing files as so...
>
> /etc/hosts
> 127.0.0.1          home_dev1
> 192.168.1.100  home_dev1

[snip]

> psql -h home_dev1 my_database  << this does not work REMOTELY
>
> What confg am I missing?

You probably need to setup the remote machines to resolve the hostname
'home_dev1' to the IP '192.168.1.100'. If the other machines are running
UNIX, just put this in /etc/hosts, like you did on the machine running
postmaster:

192.168.1.100   home_dev1

HTH,

Neil

--
Neil Conway <neilconway(at)home(dot)com>
Get my GnuPG key from: http://klamath.dyndns.org/mykey.asc
Encrypted mail welcomed

In every country and every age, the priest has been hostile to liberty. He is
always in alliance with the despot ... they have perverted the purest religion
ever preached to man into mystery and jargon, unintelligible to all mankind,
and therfore the safer engine for their purpose.
        -- Thomas Jefferson

In response to

  • Host problem at 2000-08-26 18:56:15 from Fredrick Bartlett

pgsql-novice by date

Next:From: Anthony E . GreeneDate: 2000-08-27 00:33:53
Subject: Re: Pg.pm oddity with apostrophes
Previous:From: Ryan WilliamsDate: 2000-08-26 20:14:43
Subject: Re: Postgres on NT

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group