pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Arun Oakley <arun.oakley@gmail.com>
To: pgsql-php@postgresql.org
Subject: pg_connect() error
Date: Fri, 4 Sep 2009 14:19:59 +1000
Message-ID: <e3dc1abc0909032119p39a9b15ci74163f28e9ef7cbf@mail.gmail.com> (raw)

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<http://hoopsgm.net/test/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

view thread (8+ messages)  latest in thread

Message-ID: <e3dc1abc0909032119p39a9b15ci74163f28e9ef7cbf@mail.gmail.com>
Permalink:  ../e3dc1abc0909032119p39a9b15ci74163f28e9ef7cbf@mail.gmail.com/
Also on:    postgresql.org/message-id/e3dc1abc0909032119p39a9b15ci74163f28e9ef7cbf@mail.gmail.com

 · 

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-php@postgresql.org
  Cc: arun.oakley@gmail.com
  Subject: Re: pg_connect() error
  In-Reply-To: <e3dc1abc0909032119p39a9b15ci74163f28e9ef7cbf@mail.gmail.com>
  References: <e3dc1abc0909032119p39a9b15ci74163f28e9ef7cbf@mail.gmail.com>

* 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