When I try to start node on port 80, the error tells me that the port is in use. I imagine that\'s Apache.
What is the proper way to \"take over\" port 80, and keep
you can use ip tables to map port 80 to 8000
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8000
to make it permanent
sudo sh -c "iptables-save > /etc/iptables.rules"
and add
pre-up iptables-restore < /etc/iptables.rules
to your /etc/network/interfaces