Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T8zZN-00006U-RX for pgsql-admin@postgresql.org; Tue, 04 Sep 2012 20:17:58 +0000 Received: from nm5.bullet.mail.bf1.yahoo.com ([98.139.212.164]) by magus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1T8zZK-00017r-WA for pgsql-admin@postgresql.org; Tue, 04 Sep 2012 20:17:57 +0000 Received: from [98.139.215.142] by nm5.bullet.mail.bf1.yahoo.com with NNFMP; 04 Sep 2012 20:17:52 -0000 Received: from [98.139.213.12] by tm13.bullet.mail.bf1.yahoo.com with NNFMP; 04 Sep 2012 20:17:52 -0000 Received: from [127.0.0.1] by smtp112.mail.bf1.yahoo.com with NNFMP; 04 Sep 2012 20:17:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1346789872; bh=jGs9hT+NC+sCd69sXeVKgg0XWfIhUh1RnM66/YrNVZM=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Subject:Mime-Version:Content-Type:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=VgsC/Qu8CiwyAcnIIfzlhynnQn/h1iWFjzzNkY8NjSXsD+XSvjlFHx9YrJMUsEi9Icxo45/RLtYrgNUC6XDvL+F7Rp7NFJVHUZHs9j4NQUUoWLKw773CHfNKgW5E8UBXrH+GYVf1Layyj89k3062ft6SDHNn6phxta/vEAfQ670= X-Yahoo-Newman-Id: 452875.16160.bm@smtp112.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: V6hyBSgVM1kjZvdm902K2wwPo6CunB23JplJQXrBMmJCJhb QE9v8VB9qOvrLyF2sAPRp.xy3AgUcFmvhFAw7TCJfI9xtdU.xnmLpJK7KnAU GaWTnTJ9yxix5yn40cqiTUOfKZY54ka906S.PbWfumLEsY1Ko7_y3VEur1nZ nVOYQNprftYdfYMZqGAS3VFTEXP1I0BPzR1jSXYDclOuEftle5CZU4IUSlhz f8aDzXEnuNBxfXrMPaIatzmMc63Q0dcKCAdSjyWsGbdB93B6BgEAgUsoTbPE Z.r2Deo_b69HiJMYxrhK2zk7A318kmGMy6Fg1YeEOVRoyyoPCEU9DXDdARJg kVgrUe411fjarLZKRaC9cqpiQuTzLCzr6ELAimXK7sy5WSBYx45yu91PLdKE _amWgt7lcDeZiaZLkprZdN_dpvRuF5582sa008w8wjC7bWdWfch_beZLCgkA gY9S1Zk6Q_EnfhFK2DWAEFc0- X-Yahoo-SMTP: i8JC72eswBBPWvAV8HCNH14i1YT4rk0NM9A- Received: from [10.10.5.35] (andersonmlunz@208.86.205.75 with plain) by smtp112.mail.bf1.yahoo.com with SMTP; 04 Sep 2012 13:17:52 -0700 PDT Subject: Re: Canot access PostgreSQL via psql -h (Vmware Fusion) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Anderson Lunz In-Reply-To: <64CA6636-C7A2-4305-8A06-A133DEEFEAE7@consistentstate.com> Date: Tue, 4 Sep 2012 16:17:51 -0400 Cc: pgsql-admin@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <64CA6636-C7A2-4305-8A06-A133DEEFEAE7@consistentstate.com> To: CS DBA X-Mailer: Apple Mail (2.1278) X-Pg-Spam-Score: -2.0 (--) X-Archive-Number: 201209/9 X-Sequence-Number: 39950 Hi! Try to check the iptables. If you don't need a firewall just = disable it. As root, try the following: service iptables status service iptables stop =09 To disable it from starting at boot time, use: chkconfig iptables off Regards, Anderson Lunz. On 2012-08-24, at 00:15, CS DBA wrote: > Hi all; >=20 > I've fired up 2 CentOS 6.2 VM's via vmware fusion 5 (on a mac). >=20 > I disables selinux on both, and installed postgres 8.4.13 on both VM's >=20 > I set listen_addresses =3D '*' > and I added a trust entry for each server in the opposite server's = pg_hba.conf file. >=20 > However I cannot access one server from the other one via psql -h = >=20 > I get the standard error: >=20 > 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? >=20 >=20 > I can ssh between servers, I see no entry in the postgres log per the = connection attempt (I have log_connections set to on) >=20 > 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 >=20 >=20 > Can anyone help me debug this? >=20 > Thanks in advance >=20 > --=20 > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin