Connexion to Postgresql using TCP/IP - Mailing list pgsql-general

From Secrétariat
Subject Connexion to Postgresql using TCP/IP
Date
Msg-id 004c01c470bc$ffdef1a0$0a00a8c0@lrp43008
Whole thread Raw
Responses Re: Connexion to Postgresql using TCP/IP  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hello !
 
I use a PostgreSQL server 7.4 on Linux Mandrake 10 with IP 192.168.0.15,
a database gestix is created.
An PostegreSQL user "postgres" id defined on this server,
I add in the .bash_profile of this user the line :
PGDATA=$HOME/data; export PGDATA
My PC have IP 192.168.0.10.
in postgresql.conf I have :
tcpip_socket = true
in pg_hba.conf I add :
host  all  all  192.168.0.10  255.255.255.255  trust
(I know, I shoul'd use better identification, it's for testing)
 
When I log as postgres if I use :
pg_ctl start
the postmaster is coming up,
I can connect from the PC with PgAdmin3 under Windows XP.
 
On automatic startup, or when I use :
service postgresql start
I can't connect from the PC. I get the message :
FATAL : no pg_hba.conf entry for host "192.168.0.10", user "postgres", database "gestix", SSL off
 
I don't understand my error (probably I made one ?)
I'm becoming mad !
 
What's the matter ?
 
Best regards.
 
Luc ROLLAND

pgsql-general by date:

Previous
From: Doug McNaught
Date:
Subject: Re: pgadmin problem
Next
From: Tom Lane
Date:
Subject: Re: Connexion to Postgresql using TCP/IP