asantejava
asantejava

Reputation: 47

Getting REACT App running on port 3001 to show on AWS EC2 Http port 80

I deployed a REACT application on an AWS EC2 running Ubuntu by cloning my github repository and installing node and npm. I tried running the application after installing all of the dependencies and it finally says: Project is running at http://localhost:3001/

How do I make the running project show up on the http(80) port of the EC2? Inbound ports open: 80, 443 and 22.

Upvotes: 1

Views: 1868

Answers (1)

Ashis
Ashis

Reputation: 138

Please install nginx on your EC2 instance which will serve your frontend.

Follow the below blog for steps

https://dev.to/xarala221/the-easiest-way-to-deploy-a-react-web-application-2l8a

Thanks

Upvotes: 1

Related Questions