pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Kempter <cs_dba@consistentstate.com>
To: pgsql-admin@postgresql.org
Subject: psql: could not connect to server: No route to host
Date: Wed, 25 Apr 2012 22:39:57 -0600
Message-ID: <4F98D19D.6060303@consistentstate.com> (raw)

Hi all;

I've setup PostgreSQL to talk across servers thousand of times... not 
sure what I'm doing wrong, maybe I'm just over-tired.


I have 2 scientific linux VM's running in vmware workstation

server 1 - 192.168.1.125
server 2 - 192.168.1.127

I've disabled selinux on both servers

Ive instaled PostgreSQL 9.1.3 on both servers

I have listen_addresses on server 1 set to '*'

postgres=# show listen_addresses ;
  listen_addresses
------------------
  *
(1 row)


I've added this to the pg_hba.conf file of server 1:
host     all             all             192.168.1.0/24        trust


I can scp files between the servers

Then from server 2 I run this:

$ psql -h 192.168.1.125
psql: could not connect to server: No route to host
         Is the server running on host "192.168.1.125" and accepting
         TCP/IP connections on port 5432?


am i loosing my mind?


thanks in advance



view thread (7+ messages)  latest in thread

Message-ID: <4F98D19D.6060303@consistentstate.com>
Permalink:  ../4F98D19D.6060303@consistentstate.com/
Also on:    postgresql.org/message-id/4F98D19D.6060303@consistentstate.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: cs_dba@consistentstate.com
  Subject: Re: psql: could not connect to server: No route to host
  In-Reply-To: <4F98D19D.6060303@consistentstate.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox