Re:Your public IP address, via Google Search
by powertower on Thursday July 26, 2012 @11:00AM
(#4296278)
It would be nice if there was a switch or param that we could use with Google's IP query to make it only return a minimal response on the page, or perhaps even get the IP via a HEAD request.
I got excited about GoogGoogle's IP query, then I looked at the page's source code! I guess I could parse that but still, there is no guarantee the format/syntax/text would stay the same.
So far I've seen a few dozen different IP return URLs. And I'm sure there are 1000s more private ones. If we could have one that's guaranteed to be around, that would help everyone out.
Some applications need to use the public IP address. So far we mostly have to maintain our own solutions (http://myip.wampdeveloper.com/) for our own products (http://www.devside.net/server/webdeveloper).
I got excited about GoogGoogle's IP query, then I looked at the page's source code! I guess I could parse that but still, there is no guarantee the format/syntax/text would stay the same.
So far I've seen a few dozen different IP return URLs. And I'm sure there are 1000s more private ones. If we could have one that's guaranteed to be around, that would help everyone out.