Tagged articles
ip2region
20 articles · Page 1 of 1
This article explains how Java developers can retrieve a client’s IP address from an HttpServletRequest, handle proxy headers, and use the ip2region library (via Maven) to map the IP to its province and city, including code snippets and configuration details.
IP addressJavaLocation lookup
0 likes · 5 min read

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 implement IP‑location lookup by recommending the free ip2region offline library, provides Maven dependency details, shows step‑by‑step Java code for loading the XDB file, querying an IP address, interpreting the result format, and highlights its high accuracy and cross‑region support.
BackendJavaMaven
0 likes · 7 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

This guide explains how to integrate the ip2region library for offline IP‑to‑region lookups, implement memory‑accelerated queries, use an online WHOIS service for richer data, and embed the logic into a Spring Boot interceptor for seamless request handling.
IP lookupInterceptorJava
0 likes · 10 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 from an HttpServletRequest, handle proxy headers, and use the ip2region library to map the IP to province, city, or country, covering setup, Maven integration, code examples, caching strategies, and performance testing.
HttpServletRequestIP addressJava
0 likes · 15 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

The ip2region 2.10.0 update introduces C# and Node.js query clients, provides detailed benchmark results, fixes a Python XDB searcher bug, disables buffer‑related functions for several languages, and includes a Maven dependency snippet for Java, all while maintaining microsecond‑level query performance for offline IP lookup.
C#JavaNode.js
0 likes · 3 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 article explains how to obtain a user's IP address from an HttpServletRequest in Java, convert it to geographic location using the ip2region library, and provides detailed code examples, Maven setup, caching strategies, and performance testing procedures for backend developers.
BackendHttpServletRequestIP address
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

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 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 guide explains how to add the mica-ip2region starter to a Spring Boot project, covering Maven and Gradle dependencies, built‑in configuration, custom Maven settings for the ip2region.db file, bean injection, available lookup methods, and a complete service example.
BackendGradleJava
0 likes · 4 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

Discover Mica, a lightweight Java microservice core built on Spring Boot and Spring Cloud, its dependencies, versioning scheme, ip2region integration, configuration tips, and usage examples, providing a streamlined foundation for cloud-native applications.
Dependency ManagementJavaSpring Boot
0 likes · 6 min read
