views:

120

answers:

3

After installing Erlang Web 1.3 and starting it in interactive mode, I get the following error in the logs:

Failed to start service: "config/inets.conf"
due to: "httpd_conf: 0.0.0.0 is an invalid address"

In my inets.conf I have the following:

BindAddress 0.0.0.0

My sys.config:

[{inets,[{services,[{httpd,"config/inets.conf"}]}]}].

Any suggestion?

A: 

i have no experience with this language or situation, but it looks like that 0.0.0.0 is an invalid address, have you tried changing it to something like 127.0.0.1 ?

John Boker
Yep. I've already tried. Same error.
Roberto Aloi
+1  A: 

I fixed the problem by myself.

I just changed the BindAddress line in inets.conf into:

BindAddress *
Roberto Aloi
+1  A: 

This configuration directive is being parsed and validated by httpd_conf, which in turn calls httpd_util:ip_address/2. Both of these were changed in R13B02. Have you tried with that Erlang/OTP version?

legoscia
I will. Thanks.
Roberto Aloi
Done. Same problem. I started the following discussion on the Erlang bugs mailing list: http://www.erlang.org/cgi-bin/ezmlm-cgi?2:mss:1565:200910:dbklgbgeplapjeofpjmo
Roberto Aloi