Server Fault is a question and answer site for system and network administrators. 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 have an EC2 server set up inside a VPC on Amazon. The server is reachable from the outside via its elastic ip address; however, when I attempt to ping that ip from inside the remote desktop session, the server cannot reach itself. Is there a way to make this happen?

share|improve this question
up vote 3 down vote accepted

It should work.

As much I understand, you haven't allowed the ping requests to be responded by the Machine in your Firewall rules. So, you shouldn't be able to ping the IP from outside too.

To do the same, Create a rule in your Security group by following steps.

  1. Create a Custom ICMP rule
  2. Type should be Echo Request
  3. Source should be everything (default)
  4. Add and Apply.

After this, you should be able to ping the Elastic IP from anywhere.

share|improve this answer
I'm able to ping it from outside, but not inside. I added a firewall rule that allows inbound from the elastic IP, and it works. Sort of counter-intuitive, considering that the traffic is also oubound (which is allowed), but oh well... – rmayer06 Mar 17 '13 at 3:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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