DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Get Public IP Address

04.29.2009
| 5804 views |
  • submit to reddit
        Get your public IP address using dyndns websize

$ curl -s http://checkip.dyndns.org/ | grep -o "[[:digit:].]\+"
    

Comments

Jorge Son replied on Wed, 2013/04/03 - 3:04am

 Thanks for your information.I used to check my public IP address from  Ip-details.com  .