Re: psql: could not connect to server: No route to host

From: Matheus de Oliveira <matioli(dot)matheus(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Kevin Kempter <cs_dba(at)consistentstate(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: psql: could not connect to server: No route to host
Date: 2012-04-26 11:29:00
Message-ID: CAJghg4LWAm5JreaLS9=OkcYgB1LqL-idJJFLptixq8QYMo3g5Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Apr 26, 2012 at 1:50 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Kevin Kempter <cs_dba(at)consistentstate(dot)com> writes:
> > I can scp files between the servers
>
> Really?
>
> > $ psql -h 192.168.1.125
> > psql: could not connect to server: No route to host
>
> Because that is not a Postgres problem, that is a network connectivity
> problem. I'd bet that there's something wrong with the VM
> configuration, such that the VM host isn't connecting 192.168.1.* in one
> VM to 192.168.1.* in the other.
>
> regards, tom lane
>
>
Or the port is not 5432. Or a Firewall is blocking the connection.

--
Matheus de Oliveira

Bacharelado em Ciências de Computação
Laboratório de Computação de Alto Desempenho -
LCAD<http://www.lcad.icmc.usp.br/>
Instituto de Ciências Matemáticas e de Computação -
ICMC<http://www.icmc.usp.br/>
Universidade de São Paulo - USP <http://www.sc.usp.br/>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ricardo Benatti 2012-04-26 11:49:11 Fwd: psql: could not connect to server: No route to host
Previous Message Tom Lane 2012-04-26 04:50:39 Re: psql: could not connect to server: No route to host