Re: 9.4 on Ubuntu 15.04: ENETUNREACH error? - Mailing list pgsql-general

From Tom Lane
Subject Re: 9.4 on Ubuntu 15.04: ENETUNREACH error?
Date
Msg-id 20220.1436362461@sss.pgh.pa.us
Whole thread Raw
In response to 9.4 on Ubuntu 15.04: ENETUNREACH error?  ("Chas. Munat" <chas@munat.com>)
Responses Re: 9.4 on Ubuntu 15.04: ENETUNREACH error?  ("Chas. Munat" <chas@munat.com>)
List pgsql-general
"Chas. Munat" <chas@munat.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


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: PG 9.4.4 issue on French Windows 32 bits
Next
From: Tom Lane
Date:
Subject: Re: Problem with ALTER TYPE, Indexes and cast