Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#IPv6Address
Hi
 
I do not know if this is double post! Is this possible to get zip code or postal code form IP address? As per I googling I have some way to get longitude and latitude from IP. I would be wounder if we can find zip code from latitude and longitude or directly from the ip.
 
Thanks
Posted 26-Feb-12 3:21am
Edited 26-Feb-12 3:26am
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

No. IP addresses are not geographical.
 
IP address can (in theory at least) be located to a specific city, but it is very, very often out by 50 miles, and occasionally by hundreds.
 
IP addresses are allocated by ISP for the most part, so tend to be registered at the offices of the ISP. My IP has come back with a physical location in different countries before now!
  Permalink  
Comments
Аslam Iqbal at 26-Feb-12 23:36pm
   
I was thinking like you. my 5
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

After a google search I found http://iplocationtools.com/index.html[^] site which is showing it can give you the Zipcode based on the IP address.
 
Hope it helps Smile | :)
 
NOTE: I haven't try though!
  Permalink  
Comments
Bernhard Hiller at 27-Feb-12 3:45am
   
Again "Berlin" for my home, 350 km away. With the short distances in Germany, that's quite a useless result. Berlin is the place where my ISP is registered.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Shai Vashdi 1,838
1 OriginalGriff 313
2 Tadit Dash 300
3 Sergey Alexandrovich Kryukov 250
4 Peter Leow 220
0 Sergey Alexandrovich Kryukov 9,440
1 OriginalGriff 5,618
2 Peter Leow 4,280
3 Maciej Los 3,540
4 Abhinav S 3,363


Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 26 Feb 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid