Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group