BUG #3361: connect problem with server

From: "adesh gupta" <adesh(at)accessti(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3361: connect problem with server
Date: 2007-06-05 14:08:19
Message-ID: 200706051408.l55E8Jtx007265@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 3361
Logged by: adesh gupta
Email address: adesh(at)accessti(dot)com
PostgreSQL version: 7.3
Operating system: linex
Description: connect problem with server
Details:

i am trying to connect postgre with php with following code.

$conn = pg_pconnect("host=www.outsourcingboom.com port=5432 dbname=<dbname>
user=<username> password=<password>");

it show this error

Warning: pg_pconnect() [function.pg-pconnect]: Unable to connect to
PostgreSQL server: could not connect to server: Connection refused Is the
server running on host www.outsourcingboom.com and accepting TCP/IP
connections on port 5432? in
/home/outso4/public_html/demodesigns/access/sis/a.php on line 13

what should i do for connect .
thanks
adesh gupta

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Douglas Toltzman 2007-06-05 14:31:25 Re: BUG #3361: connect problem with server
Previous Message Anton Danilchenko 2007-06-05 08:39:43 BUG #3357: Install server failed on Russian language