I've tried changing port both in wf_core.erl and sys.config, but now it can't even initialize webserver.
Checked if something is using 80 port - it is free.
On
The basic reason is that in most unixes only root can bind to ports bellow 1024.
Depending on which OS you are running there are several ways to deal with this,
We run on port 8000 and map it to 80 at the load balancer or firewall.
If you don't want to do that look at this page: http://yaws.hyber.org/privbind.yaws which is for yaws but everything there will still apply to any erlang system.
You should install authbind in case you need running 80 port. Create file
and set rwx access to user you need run under. Then perform
P.S. you need to specify port only in sys.config. In web_sup you should use
Like in https://github.com/synrc/n2o_sample/blob/master/src/web_sup.erl#L17
You shouldn't touch wf_core, it's default port is 8000 and it is use port from config.