Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I went to www.whatsmyip.org and got my public IP address for my phone. Just for kicks and grins, I tried to ping it, but didn't get a reply. Is ICMP turned off on my android phone?

share|improve this question
    
Was that the same IP address your phone had locally? If not (which is very highly likely), you're behind NAT and won't get unsolicited packets. –  David Schwartz Jun 18 '12 at 20:44
add comment

migrated from superuser.com Jun 18 '12 at 20:33

This question came from our site for computer enthusiasts and power users.

2 Answers

up vote 7 down vote accepted

Either your phone silently drops pings, or the router it's behind, either your wifi router, or the 3G network's router that NATs your phone drops them.

share|improve this answer
    
It is very likely that the provider's network and the phone's configuration itself both block incoming connections of any sort, except any that the provider specifically wants open. +1 –  Andrew Barber Jun 18 '12 at 20:54
add comment

Your phone can have a lot of different IP's on different interfaces but that one is not yours. It's internet gateway of your mobile operator.

If I'm wrong consider the point of describing to customers why they should pay for some pings or face the hell of ICMP incapsulation of freebies masters.

share|improve this answer
    
Not entirely sure what this answer is saying, but it seems to have originated from a very naive idea of what IP addresses are and how they are assigned and used. –  Andrew Barber Jun 18 '12 at 20:43
add comment

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.