pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <xzilla@users.sourceforge.net>
To: Tamir Halperin <tamir@brobus.net>
Cc: pgsql-admin@postgresql.org, Zope Database Mailing List <zope-db@zope.org>
Subject: Re: Zope and ZPsycopgDA almost working...
Date: 25 Mar 2003 10:19:47 -0500
Message-ID: <1048605587.13798.479.camel@camel> (raw)
In-Reply-To: <985DF46E87E0C047A3670048DBCAD0556BB7@andrew.brobus.net>
References: <985DF46E87E0C047A3670048DBCAD0556BB7@andrew.brobus.net>

Sounds like your database might not be accepting outside connections.
Check your postgresql.conf file and make sure tcpip_socket = true
You might also need to configure your pg_hba.conf to allow connections
from your windows box. 

Robert Treat

On Tue, 2003-03-25 at 01:20, Tamir Halperin wrote:
> I just figured out how to install ZPsycopgDA into zope on Windows. I configured it with all the connection string properties and attempted to add it to my zope folder. Here's what I got:
> 
> psycopg.OperationalError
> could not connect to server: No connection could be made because the target machine actively refused it.
>  (0x0000274D)
> 	Is the server running on host 192.168.1.102 and accepting
> 	TCP/IP connections on port 5432?
> 
> I'm running pgsql 7.3.2 (with openssl installed but not specifically configured in any way since the installation) on FreeBSD 4.6. On another box I'm running Zope 2.5 on Win2K pro.
> 
> I'm not sure how to confirm that the answer to the above question is "yes". If it is found to be "no" I don't know how to change it. This is why I'm not sure which mail list to send this to so I'm sending it to both. Thanks so much in advance for you help.
> 
> Tamir
> 




view thread (5+ messages)  latest in thread

Message-ID: <1048605587.13798.479.camel@camel>
Permalink:  ../1048605587.13798.479.camel@camel/
Also on:    postgresql.org/message-id/1048605587.13798.479.camel@camel

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: xzilla@users.sourceforge.net, tamir@brobus.net, zope-db@zope.org
  Subject: Re: Zope and ZPsycopgDA almost working...
  In-Reply-To: <1048605587.13798.479.camel@camel>
  References: <985DF46E87E0C047A3670048DBCAD0556BB7@andrew.brobus.net> <1048605587.13798.479.camel@camel>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox