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.
You should install authbind in case you need running 80 port. Create file
/etc/authbind/byport/80
and set rwx access to user you need run under. Then perform
authbind --deep ./start.sh
P.S. you need to specify port only in sys.config. In web_sup you should use
wf:config(port)
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.