2 Answers
- Newest
- Most votes
- Most comments
0
When you are on the box, does a curl http://127.0.0.1
work?
What ports is it listening on? 80 or 443 etc?
0
If above does not work, make sure there is an Internet Gateway associated to the subnet where the EC2 is, apart of course security groups and NACLs
Okay, http://ipaddress:3000 works! Thanks!
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 3 years ago
- I host a website on an EC2 instance. How do I allow my users to connect on HTTP (80) or HTTPS (443)?AWS OFFICIALUpdated 2 years ago
It failed to connect to 127.0.0.1 port 80, and it appears that it is only listening on port 22.
Ok. Sounds like your webserver isn’t up and running.just double check it’s bound to the correct IP and port and is running. This would be why you can’t connect.
Youve tried http(s)://ipaddress:3000 ??
Port 3000 needs to be open on security group and you have used :3000 in the URL when accessing the webserver from your browser?