Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 219DE634190 for ; Fri, 4 Sep 2009 01:20:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 72808-01 for ; Fri, 4 Sep 2009 04:20:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pz0-f200.google.com (mail-pz0-f200.google.com [209.85.222.200]) by mail.postgresql.org (Postfix) with ESMTP id 47C5F632EED for ; Fri, 4 Sep 2009 01:20:04 -0300 (ADT) Received: by pzk38 with SMTP id 38so409640pzk.5 for ; Thu, 03 Sep 2009 21:20:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=XWgPEBevtmsuib6QeiX0JA3ELlMQ/jr7m6BbigUHziY=; b=Z10MXlWdkwKDVjgnDdHVGA92hG8+SJc0wFNtjuCxQegrtkI2SAojJYEhhQ+L1qU+kG JbeJq+O+padZD78x+DWIISxBN18rUOO/O/v+F9jpi15uTzT93/G5qt9+c9qJorba2V3H u9AakefFQS8wWfbc1cxNOlegrEIzvPBO3FlfE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=L5BAU/wUUJUZl8EuWPIvuHmUumyatcEZk2eDTxjh8BS5b4w7W0zxNC5dRKoZySREH+ 9irmKNmWx1VNnirSJwNd5UWXj0lGvrnhrmcRG8JZa9CG1Ol899zdlB7zQMOZ4vy7MTCo IDopot6QxLFoJT1QC6dnhczQLr+loPoFrcvfo= MIME-Version: 1.0 Received: by 10.115.81.21 with SMTP id i21mr9313909wal.125.1252037999391; Thu, 03 Sep 2009 21:19:59 -0700 (PDT) Date: Fri, 4 Sep 2009 14:19:59 +1000 Message-ID: Subject: pg_connect() error From: Arun Oakley To: pgsql-php@postgresql.org Content-Type: multipart/alternative; boundary=0016e64de80e32f52d0472b8d06f X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.598 tagged_above=-10 required=5 tests=BAYES_00=-2.599, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200909/12 X-Sequence-Number: 4070 --0016e64de80e32f52d0472b8d06f Content-Type: text/plain; charset=ISO-8859-1 hi guys, we have a postgres db with a hosting company and have been trying to connect to. error is below. *Warning*: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not connect to server: Connection refused Is the server running on host "pgdb1.host-ed.net" and accepting TCP/IP connections on port 3306? from my trawling around google i have found that it could be related to the postgres.conf file and turning on tcpip sockets to true?? (i cannot view/edit any postgres conf files) oh and those are the host/port details supplied by hosting provider any help would be appreciated in pointing on the right path. Cheers Arun --0016e64de80e32f52d0472b8d06f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hi guys,

we have a postgres db with a hosting company an= d have been trying to connect to. error is below.
Warning: pg_connect() [function.pg-connect]: Unable to connect to Post= greSQL server: could not connect to server: Connection refused Is the serve= r running on host "pgdb1.host-ed.= net" and accepting TCP/IP connections on port 3306?

from my trawling around google i have found that it cou= ld be related to the postgres.conf file and turning on tcpip sockets to tru= e?? (i cannot view/edit any postgres conf files)

oh and those are the host/port details supplied by hosting provider


any help would be appreciated in pointing = on the right path.

Cheers

Arun
--0016e64de80e32f52d0472b8d06f--