Re: 9.4 on Ubuntu 15.04: ENETUNREACH error?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Chas(dot) Munat" <chas(at)munat(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 9.4 on Ubuntu 15.04: ENETUNREACH error?
Date: 2015-07-08 13:34:21
Message-ID: 20220.1436362461@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Chas. Munat" <chas(at)munat(dot)com> writes:
> I recently upgraded to Ubuntu 15.04 with PostgreSQL 9.4.4 with uuids and
> plv8 coffeescript extensions. I can access the database via psql. My web
> application uses node.js via pg-bricks. It works perfectly on my Mac dev
> machine.

> On the server, I get this error:

> preload failed { [Error: connect ENETUNREACH 127.0.0.0:5432 - Local
> (0.0.0.0:0)]
> code: 'ENETUNREACH',
> errno: 'ENETUNREACH',
> syscall: 'connect',
> address: '127.0.0.0',
> port: 5432 }

Something in your configuration is trying to connect to 127.0.0.0,
which should be expected to fail. Presumably 127.0.0.1 (the standard
IPv4 loopback address) was meant. Look for typos in whatever is
determining the address that the client tries to connect to.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2015-07-08 13:43:53 Re: Problem with ALTER TYPE, Indexes and cast
Previous Message Adrian Klaver 2015-07-08 13:20:15 Re: PG 9.4.4 issue on French Windows 32 bits