Why can't I access my EC2-hosted website from my LAN? DNS resolves to correct IP

1

1

I am trying to access my website (which is hosted on an Amazon EC2 instance) from my LAN in any browser but it does not work from any of my computers, except my iPad (which is definitely using my WiFi). I also pinged the host and it resolves to the correct IP but I get request timeouts (I did allow ICMP through the EC2 firewall) from all computers I test from, and my pfsense router (primary router that is connected to the modem). Outside my LAN (and my iPad for some reason), the site is perfectly accessible.

cbalos

Posted 2014-06-08T05:53:48.967

Reputation: 378

So your network is hosted on Amazon EC2, not a local server on your home LAN?

Is your iPad a Wi-Fi only model, or is it 3G or 4G data capable? Do you have a data plan? I'm wondering if your iPad is actually connecting through 3G/4G. If that's a possibility, try going into Airplane Mode and then enabling Wi-Fi. This should keep the 3G/4G radio turned off, but let Wi-Fi work. This lets you know for certain whether or not the iPad works via your home network or not. – Spiff – 2014-06-08T06:11:29.977

@Spiff Yes my server is an EC2 currently, and the iPad is wifi only and so it is definitely using my wifi (same wifi my macbook pro is using, and it cant connect to my site). – cbalos – 2014-06-08T06:13:42.340

BTW, I can reach your site via HTTP, but I can't ping it. So ping might not be a valid test here. Use a browser or curl or something. – Spiff – 2014-06-08T06:14:56.293

I know this is only a side issue, but if you want to be able to ping your instance: https://aws.amazon.com/articles/1145#18

– Spiff – 2014-06-08T06:31:59.423

@Spiff Ahhh, well i fixed that, now when i ping i get request timeout. – cbalos – 2014-06-08T06:36:45.903

Just because your iPad is wifi only that doesn't prove it's using your LAN to connect to the Internet. It might be paired with a mobile phone using Bluetooth and be using the phone's connection. Try turning off Bluetooth on the iPad to be sure. – Mike Scott – 2014-06-08T07:18:19.977

@MikeScott it definitely is using my wifi, and not bluetooth tethering. Obviously just because it is a wifi only model does not prove it is using WiFi, ill edit my statement in the question to better reflect this. – cbalos – 2014-06-08T07:22:28.273

No answers