[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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





On Thu, Apr 26, 2012 at 1:50 AM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
Kevin Kempter <cs_dba@xxxxxxxxxxxxxxxxxxx> 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
Instituto de Ciências Matemáticas e de Computação - ICMC
Universidade de São Paulo - USP





[Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

Powered by Linux