Tuesday 16 April 2019

How to resolve Error connecting to your instance: Connection timed out by Raj Gupta

If you try to connect from your laptop or PC to your EC2 instance and get an error message Network error: Connection timed out or Error connecting to [instance], reason: -> Connection timed out: connect,



Then do the below:-

• Check your security group rule

Verify that there is a rule that allows traffic from your computer to port 22 (SSH) for Linux and  port 3389 (RDP) for window.




• Check the route table for the subnet. You need a route that sends all traffic destined outside the VPC to the internet gateway for the VPC.



• Check the network access control list (ACL) for the subnet. The network ACLs must allow inbound and outbound traffic from your local IP address on the proper port. The default network ACL allows all inbound and outbound traffic.

• If your computer is on a corporate network, ask your network administrator whether the internal firewall allows inbound and outbound traffic from your computer on port 22 (for Linux instances) or port 3389 (for Windows instances).
If you have a firewall on your computer, verify that it allows inbound and outbound traffic from your computer on port 22 (for Linux instances) or port 3389 (for Windows instances).

• Check that your instance has a public IPv4 address. If not, you can associate an Elastic IP address with your instance.

1 comment:

  1. Hello everyone , here’s your opportunity for you to achieve your dreams of being a multi million dollar rich through trading , I once loss all I got through trading but was fortunate to come across a woman with great virtue and selfless heart (Mary ) i was introduce to her masterclass strategy while searching online which has revived me of all my losses and made me gain more and more . With her unique strategy you are entitled to daily signals and instant withdraw ,be rest assured of getting a refund of all your loss investment with any platform that has denied you in one way or the other in getting your money . Mrs Mary masterclass strategy is simply the best for beginners and those that are finding it difficult to succeed through trading she’ll help you with just a simple step . Email her ( maryshea03 @ Gmail .com) WhatsApp +1 562 384 7738 . Remember this is absolutely free!!!

    ReplyDelete