SWI-Prolog / pengines

Pengine and Prolog scratchpad
BSD 2-Clause "Simplified" License
56 stars 16 forks source link

Error: Refusing to run HTTP server as root: No permission to open server `http` #28

Closed ufnalbartosz closed 2 years ago

ufnalbartosz commented 2 years ago

I'm getting the Refusing to run HTTP server as root: No permission to open server http after I downloaded and run the swipl ./daemon.pl --port=3030 --fork=false command.

:~# uswipl --version
SWI-Prolog version 8.5.2 for x86_64-linux
JanWielemaker commented 2 years ago

For security reasons the HTTP daemon framework refuses to run as root. It you start it as root, add a --user=someuser option.

ufnalbartosz commented 2 years ago

Thanks for the answer!