Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 2 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

 
discard

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.