Find your server.listen
call and change the port from 3000
to 80
. Don’t forget that you have to run the program with the CAP_NET_BIND_SERVICE
capability (see capabilities(7)
for details) in order to bind to ports less than 1024 on Linux systems. root
privilege will contain this, and other, privileges.