Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 426
  • Last Modified:

How to find my real location from an IP?

Dear,
When I go to hidemyip.com, it shows that I am from Lebanon.
hidemyipBut when I go to whatismyip.com, it shows that my ip have 2 different locations:
iphave2locations.
and that i am not under proxy:
whatismyip
How can hidemyip know my real location, while whatismyip show 2 places?
Thx
0
hassanayoub85
Asked:
hassanayoub85
  • 2
1 Solution
 
coolfigerCommented:
its simple .. one system is using a diffrent lookup method form the other.,

How these thigns work is they query a database which refrences your IP address to a location. There are a few databases onlien which they can query to find your location via ip address. In some cases when they do not find yrou ip they try to locate you based on the owner of the netblock which the ip address range is registered to. This may be why whatmy ip shows you in two countries as the ip range may be spread accross both networks.


Some also use traces on your routes and identify the core internet routers to get your location .. it may be that to ..


mabe some one else has a better explanation
0
 
hassanayoub85Author Commented:
Ok good explanation which i was thinking on too.
However, Any idea how to use those libraries?
0
 
basicinstinctCommented:
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now