Question

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?

Was it helpful?

Solution

I fixed the problem by myself.

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

BindAddress *

OTHER TIPS

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?

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 ?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top