Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

What steps should I take to ensure my Nest.js app deployed on AWS Fargate displays properly on the Public IP without specifying the port number?

$
0
0

So I have deployed a Nest.js app to AWS Fargate. The thing is when I access the Public IP X.XXX.XXX.XXX the site does not open. But when I type X.XXX.XXX.XXX:3000 the page displays the Hello World! message. Now how can I make the app display it on X.XXX.XXX.XXX?

I have changed the port number of the app to 80 in the main.ts then i opened the command prompt with administrative privileges and typed npm start. The "Hello World!" message displayed. So my question is that do I need to then, modify the inbound rules of the security group of my Fargate Task to allow traffic on port 80 from the desired sources?


Viewing all articles
Browse latest Browse all 12111

Trending Articles