Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 06C2D1337B49 for ; Fri, 10 Dec 2010 06:00:17 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 75812-10 for ; Fri, 10 Dec 2010 10:00:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from intern.proventis.net (intern.proventis.net [85.182.161.50]) by mail.postgresql.org (Postfix) with ESMTP id 4FF9A133655C for ; Fri, 10 Dec 2010 06:00:09 -0400 (AST) Received: from mail.proventis.net (unknown [192.168.22.239]) by intern.proventis.net (Postfix) with ESMTP id 0333B2C1CE for ; Fri, 10 Dec 2010 11:00:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.proventis.net (Postfix) with ESMTP id 8EE5CC58B5 for ; Fri, 10 Dec 2010 10:59:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.proventis.net Received: from mail.proventis.net ([127.0.0.1]) by localhost (mail.proventis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JDd6Jf6DnAVg for ; Fri, 10 Dec 2010 10:59:51 +0100 (CET) Received: from [192.168.22.130] (tmarkus.proventis.net [192.168.22.130]) by mail.proventis.net (Postfix) with ESMTP id 43DA7C56C8 for ; Fri, 10 Dec 2010 10:59:51 +0100 (CET) Message-ID: <4D01FA3E.6070102@proventis.net> Date: Fri, 10 Dec 2010 11:00:30 +0100 From: Thomas Markus Organization: proventis GmbH User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Lightning/1.0b2 Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Connection Problem References: <1291728544.3489.28.camel@localhost> <4CFE9095.5090702@opencloud.com> <1291900691.3402.7.camel@roblaptop.localdomain> <20101209154347.19402ab3a4rxuttv@softperience.eu> <1291938510.3900.7.camel@roblaptop.localdomain> <20101210043821.154256pztiixveod@softperience.eu> In-Reply-To: <20101210043821.154256pztiixveod@softperience.eu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201012/53 X-Sequence-Number: 21291 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 : >