pg_connect() error
Arun Oakley <[email protected]> Fri, 4 Sep 2009 14:19:59 +1000
| Newsgroups | gmane.comp.db.postgresql.php |
|---|---|
| Message-ID | <[email protected]> |
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