Skip to content

Suddenly "This site can’t be reached"

0

I've been using this server(18.217.6.115 to code Laravel) for a few hours and out of the blue i get "This site can’t be reached" .. Instance state says "Running" ... and i was connected to the FTP got disconnected and cannot access terminal ...

I'm a rookie practicing after 20 years and just found out about laravel ... can anyone give me a hand here?

asked a year ago236 views

1 Answer
0

When your EC2 instance website suddenly becomes inaccessible with a "This site can't be reached" error despite showing as "Running" in the AWS console, there are several potential causes to investigate:

  1. Security Group Configuration: Verify that your EC2 instance's security group allows incoming traffic on the necessary ports (typically 80 for HTTP, 443 for HTTPS, and 22 for SSH). If these rules were modified, it could cause connection issues.

  2. Web Server Status: Your web server (Apache, Nginx, etc.) might have stopped running. This would require SSH access to restart the service.

  3. Resource Constraints: Your EC2 instance might be experiencing high CPU usage or memory issues, causing services to fail or become unresponsive.

  4. Network Configuration: Check that your subnet's route table includes a route for internet-bound traffic pointing to the internet gateway.

  5. Application Crash: Your Laravel application might have encountered an error that caused it to crash.

Since you're also unable to connect via FTP and terminal, this suggests a more fundamental connectivity issue rather than just a web server problem.

To troubleshoot:

  1. Try restarting your EC2 instance from the AWS Management Console.

  2. Check your instance's system logs in the EC2 console for any error messages.

  3. Verify that you haven't reached any service limits or resource constraints.

  4. If you recently made changes to your security groups, network ACLs, or route tables, review and revert those changes if necessary.

  5. If possible, create a snapshot of your instance before making any significant changes, to preserve your data.

If these steps don't resolve the issue, you might need to contact AWS support for more specific assistance with your instance.
Sources
EC2 Website Connection Timeout | AWS re:Post
website down saying can not be reached | AWS re:Post

answered a year ago

EXPERT

reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.