简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM