Tagged articles
IP Geolocation
23 articles · Page 1 of 1
This guide explains the ip2region PHP library, compares its lightweight V2 and full‑featured V3 versions, details installation via Composer, shows project structure, core features, new v3.0 enhancements, and provides step‑by‑step code examples for functional and object‑oriented usage.
IP GeolocationPHPip2region
0 likes · 13 min read

This article explains how to implement high‑accuracy IP location lookup using the free ip2region offline database, provides Maven dependency details, demonstrates Java code for searching IP addresses, shows sample output, and highlights its support for both domestic and international IPs.
IP GeolocationJavaip2region
0 likes · 5 min read

This article explains how to obtain a client’s IP address from an HttpServletRequest, convert it to a geographic location using the ip2region library, and provides multiple Java implementation options, Maven dependencies, and performance testing commands for efficient backend IP lookup.
BackendIP GeolocationJava
0 likes · 15 min read

This article explains how to retrieve a client’s real IP behind proxies, choose the appropriate forwarding header, and use the open‑source ip2region library to map the IP to a geographic location, with complete Java and Spring Boot code examples.
HttpServletRequestIP GeolocationJava
0 likes · 17 min read

This article explains how to integrate IP geolocation into a Spring Boot application by using the ip2region library for offline lookups and an online API for real‑time address resolution, providing code samples, dependency setup, caching strategies, and an interceptor to attach IP information to every request.
BackendIP GeolocationInterceptor
0 likes · 12 min read

The ip2region 2.11.0 release introduces a Golang XDB editor for easy IP data modification, updates the XDB dataset with community‑provided fixes, adds a data‑update scheme, and improves Golang/Java makers and query clients, offering high‑performance offline IP lookup across multiple languages.
IP GeolocationXDBdatabase
0 likes · 3 min read

This guide explains how to obtain a client’s IP address behind proxies in Java, choose appropriate HTTP headers, and use the open‑source ip2region library to query offline databases for accurate, millisecond‑level IP geolocation, including code examples for Spring Boot integration.
BackendIP GeolocationJava
0 likes · 15 min read

This article explains how to obtain a user's IP address on the server side, use the Taobao IP database or the open‑source ip2region library to map the IP to province and city, and demonstrates integration in Java, PHP and Laravel with sample code and performance details.
BackendIP GeolocationJava
0 likes · 8 min read

This article explains how to obtain a client's IP address from HttpServletRequest in Java, convert it to geographic location using the ip2region library, and demonstrates various query methods, caching strategies, and Maven integration for efficient backend IP geolocation.
HttpServletRequestIP GeolocationJava
0 likes · 12 min read

This article explains how to obtain a user's IP address from an HttpServletRequest, introduces the ip2region offline IP‑location library, demonstrates Maven integration and multiple Java query implementations—including file‑only, vector‑index, and full‑memory caching—while providing benchmark and testing instructions.
HttpServletRequestIP GeolocationJava
0 likes · 15 min read

This tutorial explains how to obtain a user's IP address from an HttpServletRequest, interpret the IP using the ip2region offline database, and display the corresponding province or country in a Java backend application, including code examples and Maven integration.
BackendIP GeolocationJava
0 likes · 11 min read

Nali is an open‑source Go rewrite of the original Nali C and JavaScript tools, offering offline IP geolocation and CDN provider queries with support for multiple databases, IPv4/IPv6, pipeline processing, interactive mode, multilingual output, and easy installation via source or pre‑compiled binaries across platforms.
CDN lookupCLI toolGo
0 likes · 13 min read

This article explains how to obtain a user's IP address in Java, map it to its geographic location using the ip2region library, and integrate the solution into a backend project with Maven, complete code examples, and details on the library's three query algorithms.
IP GeolocationJavaip2region
0 likes · 12 min read

This article explains the technical principles behind IP‑based location services, describing how autonomous systems (ASNs) map IP blocks to organizations and regions, and discusses the privacy concerns and real‑world applications of IP geolocation in modern internet platforms.
ASNAutonomous SystemIP Geolocation
0 likes · 7 min read

This article explains the technical principles behind IP‑based geolocation, describing how autonomous systems map IP addresses to approximate locations, the limits of accuracy, and the privacy concerns arising from both network operators and large‑scale data services.
Autonomous SystemIP Geolocationinformation security
0 likes · 7 min read

The article explains the technical principles behind IP geolocation using autonomous systems, describes how IP addresses can be mapped to regions and organizations, discusses the limits of precision, and highlights privacy concerns and potential misuse of location data in the modern digital era.
Autonomous SystemIP Geolocationnetwork fundamentals
0 likes · 8 min read

This article explains how IP addresses are linked to geographic locations through Autonomous Systems and ASN mappings, discusses the accuracy limits, and highlights privacy implications and real‑world applications of IP geolocation in modern internet services.
ASNAutonomous SystemIP Geolocation
0 likes · 7 min read

This article explains how IP addresses are mapped to geographic locations through autonomous systems and ASN data, outlines the limits of precision, and discusses privacy implications and how apps and services use IP information despite user attempts to hide it.
ASNAutonomous SystemIP Geolocation
0 likes · 7 min read

This guide introduces ip2region, an offline IP geolocation library, and shows how to integrate its Java wrapper mica‑ip2region into Spring Boot, covering dependency setup, bean injection, search methods, IpInfo fields, and provides demo screenshots and related open‑source links.
IP GeolocationJavaSpring Boot
0 likes · 5 min read

This article explains why identifying a user's city via IP is crucial for operations, outlines various IP-to-city methods, and provides a complete Spring Boot implementation—including IP extraction, QQWry library integration, custom interceptors, and REST endpoints—to count visits per city.
IP GeolocationInterceptorSpring Boot
0 likes · 6 min read

This article introduces ip2region, an offline IP‑address location library offering 99.9% accuracy, sub‑millisecond query speed, tiny database size, multiple search algorithms, and bindings for many languages, along with installation, testing, concurrency tips, and database generation instructions.
IP GeolocationMulti-languagehigh-performance
0 likes · 9 min read

This article describes how Ctrip's risk control system stores static IP location data in memory, transforms it into a red‑black tree for fast lookup, and outlines the data conversion process from database JSON to compact in‑memory structures, achieving high concurrency and low latency.
IP GeolocationRed-Black Treein-memory data structures
0 likes · 14 min read


ITPUBMay 4, 2017 · Backend Development
This guide explains how to transform user IP addresses into geographic coordinates by leveraging Baidu's IP APIs, Logstash's built‑in geoip filter, and MaxMind's GeoIP Java library, including code samples, response formats, and practical usage considerations.
Baidu APIGeoIPIP Geolocation
0 likes · 6 min read
