Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29549

Issue accessing node server on port 80(dynamic port)

$
0
0

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


Viewing all articles
Browse latest Browse all 29549

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>