Search Postgresql Archives

Re: Server doesn't seem to be listening...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Tom Lane <tgl@xxxxxxxxxxxxx>:

"Eric D. Nielsen" <nielsene@xxxxxxx> writes:
I've confirmed from the commandline using
psql -h <hostname> -p <port> -U <username> database
"psql: could not connect to server: Connection refused

That's not a Postgres problem.  You do not have network-level
connectivity --- I'm betting you forgot to enable TCP access
to that VM, or something along that line.  Think firewall
configuration, not Postgres.

I had already checked the firewall issues before posting. What I hadn't checked
was netstat, which showed that after the resize it was binding so that only
"localhost" could connect and not the domain name. This is actually better for
me.

Thank you for sending me back to the right place to look.

Eric

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux