Relative Content

Tag Archive for amazon-web-servicesdockeramazon-ecsamazon-ecr

How to expose port 3030 in AWS container website?

I have a react project which includes a ‘server.js’ file which I am going to use to make data requests with important security secrets, at the moment I’m trying to make it work with simple string responses.

When I run both npm start and node src/server/server.js locally, it works great, clicking the ‘fetch data’ react button makes a request to localhost:3030 (where the server is running) and displays the result.