Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T4mE2-0005ll-2L for pgsql-admin@postgresql.org; Fri, 24 Aug 2012 05:14:30 +0000 Received: from ks215171.kimsufi.com ([188.165.251.98]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T4mE0-00038a-B3 for pgsql-admin@postgresql.org; Fri, 24 Aug 2012 05:14:29 +0000 Received: from [192.168.178.42] (p5B278D28.dip0.t-ipconnect.de [91.39.141.40]) (authenticated bits=0) by ks215171.kimsufi.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id q7O5EIjm012618 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 24 Aug 2012 07:14:19 +0200 Message-ID: <50370DA5.1040902@longimanus.net> Date: Fri, 24 Aug 2012 07:14:13 +0200 From: Andreas Schmitz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: CS DBA CC: pgsql-admin@postgresql.org Subject: Re: Canot access PostgreSQL via psql -h (Vmware Fusion) References: <64CA6636-C7A2-4305-8A06-A133DEEFEAE7@consistentstate.com> In-Reply-To: <64CA6636-C7A2-4305-8A06-A133DEEFEAE7@consistentstate.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-96.4 required=3.0 tests=RCVD_IN_PBL, USER_IN_WHITELIST autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ks215171.kimsufi.com X-Virus-Scanned: clamav-milter 0.97.3 at ks215171.kimsufi.com X-Virus-Status: Clean X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201208/104 X-Sequence-Number: 39925 Hi, are there any firewalls up (check iptabled) ? try running telnet 192.168.91.145 5432 what is happening ? regards, Andreas On 08/24/2012 06:15 AM, CS DBA wrote: > Hi all; > > I've fired up 2 CentOS 6.2 VM's via vmware fusion 5 (on a mac). > > I disables selinux on both, and installed postgres 8.4.13 on both VM's > > I set listen_addresses = '*' > and I added a trust entry for each server in the opposite server's pg_hba.conf file. > > However I cannot access one server from the other one via psql -h > > I get the standard error: > > psql -h 192.168.91.145 > psql: could not connect to server: No route to host > Is the server running on host "192.168.91.145" and accepting > TCP/IP connections on port 5432? > > > I can ssh between servers, I see no entry in the postgres log per the connection attempt (I have log_connections set to on) > > Currently I have networking set to "share with my mac" or NAT. I tried setting networking to "Private to my mac" with the same results. Tried Autodetect (Bridged) as well, no luck > > > Can anyone help me debug this? > > Thanks in advance >