Re: Connection Problem

Поиск
Список
Период
Сортировка
От Thomas Markus
Тема Re: Connection Problem
Дата
Msg-id 4D01FA3E.6070102@proventis.net
обсуждение исходный текст
Ответ на Re: Connection Problem  (Radosław Smogura <rsmogura@softperience.eu>)
Список 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@mira.net>:
>


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Radosław Smogura
Дата:
Сообщение: Re: Connection Problem
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Connection Problem