Errors when connected to an instance

Here is a possible error message when you try to connect to the instance:

Connection timed out:

If you get an error message such as Network error: Connection timed out or Error connecting to [instance], reason: -> Connection timed out: connect while connecting to your instance, try the following:

  • Check the security group rule to allow traffic from public IP addresses on the proper port.
  • In your Virtual Private Cloud (VPC), check the route table for a subnet that sends all traffic outside the VPC to an internet gateway.
  • In your VPC, verify the network Access Control List (ACL) for that subnet to allow inbound and outbound traffic from local IP addresses to the proper port.
  • If you have a firewall on your ...

Get Expert AWS Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.