Why can an IP lookup show a nearby city?
Network exits, range assignments and update schedules all affect city-level estimates.
Compare the address first
Check the full address and lookup time in both reports. A device can switch between Wi-Fi and mobile data or use IPv4 for one connection and IPv6 for another. Different addresses do not provide a fair comparison of two location records.
The exit may be elsewhere
A mobile operator can send traffic from several cities through one public exit. A database may place an entire range at the operator’s access point. When a range moves, providers may update their records at different times.
Document a mismatch
Record the time, IP version, ASN and the cities each lookup reports. If the estimates agree on the region but differ at city level, keep that uncertainty in the result. A map coordinate cannot reliably identify a street or building.