Setup authbind on Mac OS

Download https://github.com/Castaglia/MacOSX-authbind

and follow the direction of the make etc

Then

sudo touch /etc/authbind/byport/443
sudo chown username /etc/authbind/byport/443
sudo chmod 755 /etc/authbind/byport/443
sudo touch /etc/authbind/byport/80
sudo chown username /etc/authbind/byport/80
sudo chmod 755 /etc/authbind/byport/80

Make 443 and 80 port available for node.js to run without sudo.

Then run node.js with authbind

authbind node server.js

Reference:

Like what you read? Give Steve Mu a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.