On Wed, May 01, 2002 at 05:32:59PM -0400, Terrence Brannon wrote:
> I started postmaster via:
> 
>   ./bin/postmaster -D data -p 7000 &
> 
> but why does a 
> 
>   telnet localhost 7000
> 
> result in a refused connection even though
>   
>   ./bin/psql -p 7000 test postgres
> 
> works?

Your postmaster is not using a TCP/IP connection, it is using Unix
sockets.  psql is connecting using a Unix socket.  The -p 7000 is
spurious.  Use 'postmaster -D data -i -p 7000' instead.

However, DBD::Pg can connect via Unix sockets.  The problem is
probably some directory or file permission errors.  Check your .conf
files.

Regards,
Jeffrey

Reply via email to