Reputation: 513
I am trying to deploy a full stack application with react and nodejs on aws ec2. I've followed this tutorial here : https://medium.com/@balghazi/deploying-react-node-js-application-to-amazon-ec2-instance-a89140ab6aab
But, at last the author says to access your webpage you need to open public dns at port 3000 which we had set in server.js client file and since I'm working on ec2 for the first time I have no idea how to open the public dns at 3000 port. Can somebody help me out here?
Code used is in the medium link above. Thank You!
Upvotes: 1
Views: 1768
Reputation: 238189
The medium post says that you should open port 3000 in security group which is used by your instance.
A link to the AWS offical instructions on how to do it is below:
Upvotes: 2