Re: psql: error: could not connect to server: Connection refused - Mailing list pgsql-novice

From Tom Lane
Subject Re: psql: error: could not connect to server: Connection refused
Date
Msg-id 1450607.1656906357@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql: error: could not connect to server: Connection refused  (BeeRich Lists <bee.lists@gmail.com>)
List pgsql-novice
BeeRich Lists <bee.lists@gmail.com> writes:
> It worked!  It was the firewall that needed a port hole poked in it.

Huh, interesting.  What I'd have expected from a firewall problem
is that the postmaster thinks it's listening on the port (and says
so at startup), but then no traffic actually reaches it.  The fact
that you didn't see any log entry about "listening on IPv4 address
so-and-so" suggests that your machine's version of a firewall is
interfering with even binding to the address.  Not impossible
I guess, but it's a new one on me.

            regards, tom lane



pgsql-novice by date:

Previous
From: BeeRich Lists
Date:
Subject: Re: psql: error: could not connect to server: Connection refused
Next
From: mahendrakar s
Date:
Subject: best way to apply and work on the patches of the pg community