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: | 4D01FA3E.6070102@proventis.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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(at)mira(dot)net>:
>
From | Date | Subject | |
---|---|---|---|
Next Message | Fabien JALABERT | 2010-12-10 12:01:29 | blocking |
Previous Message | Radosław Smogura | 2010-12-10 09:38:21 | Re: Connection Problem |