Erlang Web and Inets BindAddress

After installing Erlang Web 1.3 and running it interactively, I get the following error in the logs:

The service failed to start: "Configurations / inets.conf"
because of: "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?

+3
source share
3 answers

I fixed the problem myself.

I just changed the BindAddress line in the inets.conf file to:

BindAddress *
+2
source

httpd_conf, , , httpd_util:ip_address/2. R13B02. Erlang/OTP?

+1

I have no experience with this language or situation, but it seems that 0.0.0.0 is an invalid address, have you tried changing it to 127.0.0.1?

0
source

Source: https://habr.com/ru/post/1720695/


All Articles