ruby on rails 4 - ec2 instance unreachable from browser with rails4 -
first, read found problem still stuck, launch ec2 instance, security group port 80 open, ssh (22) , icmp (-1)
i can ping ip, works well, can ssh, no problem, when wget http://localhost
on instance it's working well
it's rails application launch sudo rails s -p80
(to on port 80) have err_connection_refused
when nstat on instance got :
so guess port 80 not open have no idea how fix this.
anyhelp ? thx
are using rails 4.2.x? defaults listen on localhost interface. can use sudo rails s -b 0.0.0.0 -p80
tell listen on interfaces , should accessible externally.
Comments
Post a Comment