I am unable to ping an IP address on a Amazon EC2 instance. When I do it from a Mac or Linux machine, it works just fine. But, on Windows 7 it doesn't work.

I've tried turning off the firewall, but that doesn't seem to work either. Pinging any other site like www.google.com or Mac.com works fine.

Any ideas?

link|improve this question
1  
When you try to ping, does it timeout? – uSlackr Oct 27 '11 at 20:28
yes it times out – maximus Oct 27 '11 at 20:44
1  
Is the IP sensitive, can you give it to us to try? – Paul Oct 27 '11 at 20:50
1  
what happens when you do a tracert on the IP? – Garrett Oct 27 '11 at 20:55
1  
Have you tried to use the "tracert" to trace the route to see where it's exactly timing out? – Joe Oct 27 '11 at 22:12
show 1 more comment
feedback

1 Answer

up vote 3 down vote accepted

That seems odd, ICMP is disabled by default on the firewall to your ec2 instance. Try running this command on your ec2 instance's firewall security group:

ec2-authorize default -P icmp -t -1:-1 -s 0.0.0.0/0

See the EC2 FAQ Article regarding ICMP.

link|improve this answer
Also, I was using some kind of "internal" up address, as opposed to an external ip address. I don't understand why it wasn't an issue on the posix machines. – maximus Oct 27 '11 at 22:32
Thanks for the response! – maximus Oct 27 '11 at 22:34
@maximus you're most welcome – John T Oct 28 '11 at 15:52
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.