node.js - Why does ec2 instance not display my website? Using nodejs -
i running m1.microinstance of aws, using centos. downloaded yeoman, git, npm , of dependencies present. trying run mean stack on server, so, mongo, express, angular , node. however, when visit public dns, site gives me error: "oops! google chrome not connect ec2-54-191-0-63.us-west-2.compute.amazonaws.com". on admin command panel, see instance status, , says running. understand if had used apache, page displays in /var/www/html directory.. so, how directory similar apaches, display html files, or whatever public see? have security groups configured, inbound, hear ssh port 22, everyone, http port 80, everyone.
yeoman set nice app folder me, reason not display. thought maybe missing server.js, not seem have fixed when added it. advice? thanks!
make sure matching port way through - browsers url:port, ec2 routing rules , nodejs settings. looks might listening port higher 80 on server.
as mentioned in comment, if want hear on port below 1024 need run command privileged user.
node.js amazon-ec2 centos yeoman mean-stack
No comments:
Post a Comment