Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T4uzQ-0007yx-HM for pgsql-admin@postgresql.org; Fri, 24 Aug 2012 14:36:00 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T4uzO-0002Mq-Rz for pgsql-admin@postgresql.org; Fri, 24 Aug 2012 14:35:59 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q7OEZs2a020232; Fri, 24 Aug 2012 10:35:55 -0400 (EDT) From: Tom Lane To: "Kevin Grittner" cc: "CS DBA" , pgsql-admin@postgresql.org Subject: Re: Canot access PostgreSQL via psql -h (Vmware Fusion) In-reply-to: <503744920200002500049ADE@gw.wicourts.gov> References: <64CA6636-C7A2-4305-8A06-A133DEEFEAE7@consistentstate.com> <503744920200002500049ADE@gw.wicourts.gov> Comments: In-reply-to "Kevin Grittner" message dated "Fri, 24 Aug 2012 09:08:34 -0500" Date: Fri, 24 Aug 2012 10:35:54 -0400 Message-ID: <20231.1345818954@sss.pgh.pa.us> X-Pg-Spam-Score: -2.1 (--) X-Archive-Number: 201208/107 X-Sequence-Number: 39928 "Kevin Grittner" writes: > CS DBA 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