Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|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 S Oct 27 '11 at 22:12
up vote 4 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.

share|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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .