Tagged articles
18 articles
Page 1 of 1
Coder Trainee
Coder Trainee
Jan 27, 2026 · Backend Development

How to Implement Global IP‑Based User Location Display in Java

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
How to Implement Global IP‑Based User Location Display in Java
Open Source Tech Hub
Open Source Tech Hub
Sep 17, 2025 · Backend Development

How to Implement Fast Offline IP Geolocation in PHP with ip2region

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
How to Implement Fast Offline IP Geolocation in PHP with ip2region
Java Architect Essentials
Java Architect Essentials
Sep 8, 2024 · Backend Development

Using the ip2region Offline IP Geolocation Library with Java

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
Using the ip2region Offline IP Geolocation Library with Java
Top Architect
Top Architect
Apr 1, 2024 · Backend Development

Using the ip2region Offline IP Location Library with Java

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.

BackendJavaip-location
0 likes · 7 min read
Using the ip2region Offline IP Location Library with Java
Architect's Guide
Architect's Guide
Jan 21, 2024 · Backend Development

Retrieving User IP Address and Geolocation in Java with ip2region

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
Retrieving User IP Address and Geolocation in Java with ip2region
Top Architect
Top Architect
Jul 5, 2023 · Backend Development

Implementing IP Geolocation in Spring Boot Using ip2region (Local and Online Methods)

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
Implementing IP Geolocation in Spring Boot Using ip2region (Local and Online Methods)
Top Architect
Top Architect
Aug 6, 2022 · Backend Development

Retrieving Client IP and Using ip2region for IP Geolocation in Java

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
Retrieving Client IP and Using ip2region for IP Geolocation in Java
Laravel Tech Community
Laravel Tech Community
Aug 4, 2022 · Backend Development

ip2region 2.10.0 Release: New C# and Node.js Clients, Benchmarks, and Fixes

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.

BenchmarkC#Java
0 likes · 3 min read
ip2region 2.10.0 Release: New C# and Node.js Clients, Benchmarks, and Fixes
Architecture Digest
Architecture Digest
Aug 3, 2022 · Backend Development

How to Retrieve Client IP and Use ip2region for IP Geolocation in Java

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
How to Retrieve Client IP and Use ip2region for IP Geolocation in Java
IT Services Circle
IT Services Circle
Jul 15, 2022 · Backend Development

How to Retrieve IP Geolocation in Java Using ip2region

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
How to Retrieve IP Geolocation in Java Using ip2region
Java Architecture Diary
Java Architecture Diary
May 2, 2022 · Backend Development

How to Use ip2region in Spring Boot for Java IP Geolocation

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
How to Use ip2region in Spring Boot for Java IP Geolocation
Programmer DD
Programmer DD
Jul 17, 2020 · Backend Development

Master Offline IP Geolocation with ip2region: Fast, Accurate, Multi‑Language Support

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
Master Offline IP Geolocation with ip2region: Fast, Accurate, Multi‑Language Support