pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Markus <t.markus@proventis.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: Connection Problem
Date: Fri, 10 Dec 2010 11:00:30 +0100
Message-ID: <4D01FA3E.6070102@proventis.net> (raw)
In-Reply-To: <20101210043821.154256pztiixveod@softperience.eu>
References: <1291728544.3489.28.camel@localhost>
	<4CFE9095.5090702@opencloud.com>
	<1291900691.3402.7.camel@roblaptop.localdomain>
	<AANLkTi=k+di1DrCktfvGEVV4HeHZFgs1WFdf3u+Jh1n9@mail.gmail.com>
	<20101209154347.19402ab3a4rxuttv@softperience.eu>
	<1291938510.3900.7.camel@roblaptop.localdomain>
	<20101210043821.154256pztiixveod@softperience.eu>

hi,

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

try:
route del -net 127.0.0.0 netmask 255.0.0.0
ping localhost

regards
Thomas


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).
>
> 217.118.24.64 0.0.0.0 255.255.255.192 U 0 0 0 eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 0.0.0.0 217.118.24.65 0.0.0.0 UG 0 0 0 eth0
>
> I believe that you can connect to postmaster at IP 187.65.254.157 (if 
> it's not your dynamic address). After calling
> route add -net 127.0.0.0
> 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
> http://softperience.eu
> Cytowanie Rob Stone <robstone@mira.net>:
>




view thread (24+ messages)  latest in thread

Message-ID: <4D01FA3E.6070102@proventis.net>
Permalink:  ../4D01FA3E.6070102@proventis.net/
Also on:    postgresql.org/message-id/4D01FA3E.6070102@proventis.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: t.markus@proventis.net
  Subject: Re: Connection Problem
  In-Reply-To: <4D01FA3E.6070102@proventis.net>
  References: <1291728544.3489.28.camel@localhost> <4CFE9095.5090702@opencloud.com> <1291900691.3402.7.camel@roblaptop.localdomain> <AANLkTi=k+di1DrCktfvGEVV4HeHZFgs1WFdf3u+Jh1n9@mail.gmail.com> <20101209154347.19402ab3a4rxuttv@softperience.eu> <1291938510.3900.7.camel@roblaptop.localdomain> <20101210043821.154256pztiixveod@softperience.eu> <4D01FA3E.6070102@proventis.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox