Jabaa
Jabaa

Reputation: 1753

Node.js server can't reached error in aws ec2

Refereed so many issues related to this thread but nothing is helped me

I have an Ubuntu server running in aws-ec2 server and a node project is running in port 1337

But when i try to access my project with <public-ip>:<port> i got page can't be reached error.

Note

I have added http rule in security group settings with value is 0.0.0.0/0 and i tested it with nginx installation. It works fine nginx default page is loaded without any issue but the node app is not loading

Upvotes: 0

Views: 616

Answers (1)

Ashan
Ashan

Reputation: 19728

Add a Custom TCP rule opening the port 1337 to allow inbound access in addition to http rule in the security group.

Upvotes: 3

Related Questions