On mac run this command in the terminal if you have your server in 8080
echo "rdr pass inet proto tcp from any to any port 8080 -> 127.0.0.1 port 8080" | sudo pfctl -ef -
On mac run this command in the terminal if you have your server in 8080
echo "rdr pass inet proto tcp from any to any port 8080 -> 127.0.0.1 port 8080" | sudo pfctl -ef -