Reputation: 30985
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?
Upvotes: 3
Views: 434
Reputation: 41568
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?
Upvotes: 1
Reputation: 30985
I fixed the problem by myself.
I just changed the BindAddress line in inets.conf into:
BindAddress *
Upvotes: 2
Reputation: 83709
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 ?
Upvotes: 0