> Date: Sat, May 26, 2007 at 11:26:24AM +0000
> Subject: [Resin-interest] Resin 3.1.1 httpd is failing to bind to "*"
> Hi,
> I'm trying out Resin 3.1.1 (Open Source) on a Damn Small Linux system
> (DSL 3.3, with default hostname "box") configured as a DHCP client.
> When my /etc/hosts file contains the line
> box
> (where is the address handed out by the DHCP server),
> everything works as expected (in resin.conf, I have <http address="*"
> port="80"/>). However, if I comment out that line in /etc/hosts [so
> that gethostbymame() or InetAddress.getLocalHost() would fail], Resin
> fails to bind to the address, despite specifying "*". The watchdog
> stops Resin because of a socket accept timeout. Is this a known
> problem, or am I doing something wrong? I don't believe anything is
> wrong with the rest of the config - my unit tests
> work fine with that /etc/hosts line left uncommented.
> Clearly, I can't have the line in /etc/hosts in a deployment (I mean
> non-development) environment, since on the next DHCP lease renewal,
> the DHCP server might dole out a different address.

Do you have a line like this in /etc/hosts?       localhost

-- Sam

resin-interest mailing list

Reply via email to