BUG #3361: connect problem with server - Mailing list pgsql-bugs

From adesh gupta
Subject BUG #3361: connect problem with server
Date
Msg-id 200706051408.l55E8Jtx007265@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #3361: connect problem with server  (Douglas Toltzman <doug@oakstreetsoftware.com>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      3361
Logged by:          adesh gupta
Email address:      adesh@accessti.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

pgsql-bugs by date:

Previous
From: "Anton Danilchenko"
Date:
Subject: BUG #3357: Install server failed on Russian language
Next
From: Douglas Toltzman
Date:
Subject: Re: BUG #3361: connect problem with server