Re: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)

From: Jean-Michel POURE <jm(dot)poure(at)freesurf(dot)fr>
To: <lutscher2002(at)t-online(dot)de>
Cc: <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)
Date: 2002-12-20 14:27:31
Message-ID: 200212201527.31068.jm.poure@freesurf.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Le Vendredi 20 Décembre 2002 15:07, vous avez écrit :
> Where's the fault?
> I started Postgres with the -i option for tcp/ip sockets!
> Hope for answers!

1) Try modifying /var/lib/pgsql/data/postgresql.conf and set TCP_IP socket to
true. This will start PostgreSQL with -i option automatically.

2) Modify /var/lib/pgsql/data/pg_hba.conf and set the following line
# TYPE DATABASE IP_ADDRESS MASK AUTH_TYPE
AUTH_ARGUMENT
local all trust
host all 127.0.0.1 255.255.255.255 trust
host all client_ip 255.255.255.0 trust

repace client_ip with your client IP. This will accept all connections from
your client_ip.

3) Type "/etc/init.d/postgresql restart"

You should be able to connect using psql under Linux and pgAdmin under
Windows. Does it make it?

/Jean-Michel

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2002-12-20 14:28:58 Re: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)
Previous Message Bernd Wollny 2002-12-20 14:07:00 Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)