I set up a node server on an AWS ec2 instance and i'm able to access this server by using "public-ip:3000" ("3000" being my node server running port) but i want to be able to access it without specifying my port instead, this will enable my DNS access the node server too. i already tried re-routing on my IP table with this "sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000" but i still can't access the server on ports 80
↧