Search code examples
amazon-ec2dnsubuntu-14.04httpconnection

I use telnet to connect one specific domain name on port 80. it works on personal Ubuntu but not work on Amazon EC2 instance. DNS issue?


I have a Amazon EC2 instance running Ubuntu and a local personal Ubuntu computer. I use the default VPC configuration for my EC2 instance and didn't block any internet traffic from the firewall.

I can telnet Google.com 80 and Ping Google.com on my EC2 instance which means I have internet connection to the outside. I try to run

telnet nebraskalegislature.gov 80

on both machine. It succeed on my own Ubuntu

Trying 164.119.9.166... Connected to nebraskalegislature.gov.

but it time out on my EC2 Instance

Trying 164.119.9.166... telnet: Unable to connect to remote host: Connection timed out

I try to run dig 164.119.9.166 on both machine.

It has one answer from my own machine but there is no answer on EC2 instance.It looks like a DNS issue

Does anybody can help me this question? Please don't block me again. I am trying to ask a good question.


Solution

  • After I test their website connection on all Amazon EC2 subnets, I think it is their internal bugs. I test two websites which are http://legislature.vermont.gov/ and http://nebraskalegislature.gov/. The result is as following:

    For http://legislature.vermont.gov/

    1. us-east-1b (fail)
    2. us-east-1c (pass)
    3. us-east-1d (pass)
    4. us-east-1e (fail)

    For http://nebraskalegislature.gov/

    1. us-east-1b (fail)
    2. us-east-1c (pass)
    3. us-east-1d (fail)
    4. us-east-1e (pass)

    For other region like Oregon and California. There are also some issue on their subnet which is not clearHuman beings create machine and also create bugs because of human nature