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

Re: Connection Problem

From: Thomas Markus <t(dot)markus(at)proventis(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Connection Problem
Date: 2010-12-10 10:00:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc

you dont need a route for localhost access. his lo device is configured 
properly. if localhost resolves to then access is ok. route is 
needed for ips inside localhost subnet (

route del -net netmask
ping localhost


Am 10.12.2010 10:38, schrieb Radosław Smogura:
> Hi,
> I think you have badly configured routing table, I don't see there 
> loopback routing (lo device)
> You should have line like this (lo - ended, 3rd line).
> U 0 0 0 eth0
> U 0 0 0 eth0
> U 0 0 0 lo
> UG 0 0 0 eth0
> I believe that you can connect to postmaster at IP (if 
> it's not your dynamic address). After calling
> route add -net
> you should connect as well.
> Check if you started all network interfaces at boot. Linux 
> distributions makes its different, you will need to call 
> /etc/init.d/*.lo or ifup lo from command line. Eventually check 
> /etc/sysconfig/network/ifcfg-lo there should be something like 
> STARTMODE=onboot
> I really wonder how you connect to http://localhost if you don't have 
> route to it. I hope this helps you.
> Kind regards,
> Radosław smogura
> Cytowanie Rob Stone <robstone(at)mira(dot)net>:

In response to

pgsql-jdbc by date

Next:From: Fabien JALABERTDate: 2010-12-10 12:01:29
Subject: blocking
Previous:From: Radosław SmoguraDate: 2010-12-10 09:38:21
Subject: Re: Connection Problem

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