-
-
Save XerxesNoble/d2fa36d9b54cc667c2ae90d84f3cb9cc to your computer and use it in GitHub Desktop.
Forward Port 80 to 3000 for Node.js (from StackOverflow)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment