Re: Canot access PostgreSQL via psql -h (Vmware Fusion)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: "CS DBA" <cs_dba(at)consistentstate(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Canot access PostgreSQL via psql -h (Vmware Fusion)
Date: 2012-08-24 14:35:54
Message-ID: 20231.1345818954@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> writes:
> CS DBA <cs_dba(at)consistentstate(dot)com> wrote:
>> psql: could not connect to server: No route to host

> That problem has nothing to do with PostgreSQL; you might have
> better luck on a list related to the other technologies.

> FWIW, on Linux I would start with `netstat -plnt` to see if the
> process was listening on the expected port and host address.

"No route to host" doesn't have anything to do with whether there's
anything listening on the target port ... what's more likely is
that the OP mistyped the IP address, or else there's something
wrong with his network layout, interface netmask assignments,
that sort of thing.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Walter Hurry 2012-08-24 16:57:22 Re: Canot access PostgreSQL via psql -h (Vmware Fusion)
Previous Message Craig James 2012-08-24 14:29:02 Re: Canot access PostgreSQL via psql -h (Vmware Fusion)