I really dislike the use of DHCP services on Linux for any kind of "service".
The DHCP client software constantly messes with the /etc/hosts, and rewrites
things so that even the localhost address line includes the full host name.
This, obvious creates this kind of problem where the service then binds to
localhost, and advertises an endpoint whose address is the localhost address,
and then we have clients trying to connect to localhost and getting connection
refused failures.
Gregg
On 9/22/2011 9:26 AM, Иван Бишевац wrote:
Thanks people, you where right. It's resolving issue. I just commented
"127.0.1.1 biske-Inspiron-1525" line and now this works fine. Yupiii...
Now my /etc/hosts file looks like:
192.168.1.3 biske-Inspiron-1525 # Added by NetworkManager
127.0.0.1 localhost.localdomain localhost
::1 biske-Inspiron-1525 localhost6.localdomain6 localhost6
# 127.0.1.1 biske-Inspiron-1525
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts