ENV: Node.js, OpenSUSE
what happened?
in terminal, http server isn’t up while trying to live-server --port=80
or http-server -p80
.
solution
add the ‘sudo’ before the command. e.g. sudo live-server --port=80
. this is because the first 1024 ports are reserved for root in Node.js.
Leave A Comment