FAQ
Hey guys,

I am trying to connect to a Postgres database using a PHP script but get the
error:

"unable to connect to PostgreSQL server: could not connect to server: Connection
refused;
is the server running on host "localhost" and accepting TCP/IP connections on
port 5432?"

How can I find out which port the Postgres database is using? How can I fix
this?

Many thanks for your help,

Stephen

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
grouppgsql-novice @
categoriespostgresql
postedApr 6, '05 at 1:48p
activeApr 6, '05 at 2:22p
posts3
users3
websitepostgresql.org
irc#postgresql

People

Translate

site design / logo © 2022 Grokbase