Tagged articles
62 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
Java Tech Enthusiast
Java Tech Enthusiast
Nov 27, 2025 · Fundamentals

How Devices Secure Their IP Address: The Full DHCP Journey Explained

This article walks through the complete DHCP process—from a device’s initial broadcast for an IP address, through server offers, request, and acknowledgment—while also covering static versus dynamic IP configuration, lease management, and common troubleshooting scenarios such as missing addresses and IP conflicts.

DHCPDynamic IPIP address
0 likes · 14 min read
How Devices Secure Their IP Address: The Full DHCP Journey Explained
IT Services Circle
IT Services Circle
Nov 23, 2025 · Fundamentals

How Does Your Device Get an IP Address? Inside the DHCP Journey

When a device connects to a network, it initiates a DHCP discovery process, receives an IP address offer, confirms the assignment, and eventually leases the address, with static and dynamic options, subnet masks, gateways, DNS settings, renewal cycles, and conflict resolution all playing crucial roles.

DHCPDNSDynamic IP
0 likes · 12 min read
How Does Your Device Get an IP Address? Inside the DHCP Journey
NiuNiu MaTe
NiuNiu MaTe
Nov 20, 2025 · Fundamentals

How DNS Translates Domain Names to IP Addresses and Keeps the Web Fast

This article explains the role of DNS as the hidden navigator that maps human‑readable domain names to IP addresses, details the four‑layer caching hierarchy, walks through recursive and iterative query flows, outlines common DNS failures, and offers practical troubleshooting and performance‑boosting tips.

DNSDomain Name SystemIP address
0 likes · 17 min read
How DNS Translates Domain Names to IP Addresses and Keeps the Web Fast
NiuNiu MaTe
NiuNiu MaTe
Nov 12, 2025 · Fundamentals

How Devices Find Their IP Address: The DHCP Journey Explained

This article walks through how a device obtains an IP address via DHCP, covering the broadcast discovery, server offer, client request, and acknowledgment phases, the differences between static and dynamic addressing, lease management, common conflicts, and practical troubleshooting steps.

DHCPDynamic IPIP address
0 likes · 13 min read
How Devices Find Their IP Address: The DHCP Journey Explained
IT Services Circle
IT Services Circle
Oct 7, 2025 · Fundamentals

Why 1.1.1.1 Became the World’s Fastest Public DNS – History and Tech

This article explains the origins, technical classification, and evolution of the IP address 1.1.1.1 from an unassigned block to Cloudflare's fast, privacy‑focused public DNS, covering its network segment, Anycast deployment, encrypted DNS support, and comparison with other DNS services.

AnycastCloudflareIP address
0 likes · 8 min read
Why 1.1.1.1 Became the World’s Fastest Public DNS – History and Tech
Linux Ops Smart Journey
Linux Ops Smart Journey
Sep 12, 2025 · Cloud Native

Unlock Real Client IPs in Envoy: Step‑by‑Step Configuration Guide

This article explains why backend services often see proxy IPs instead of the true client address in modern cloud‑native architectures, and provides a detailed walkthrough of configuring Envoy—including X‑Forwarded‑For handling, code snippets, testing, and security recommendations—to ensure the original client IP is correctly propagated.

EnvoyIP addressService Mesh
0 likes · 6 min read
Unlock Real Client IPs in Envoy: Step‑by‑Step Configuration Guide
Code Mala Tang
Code Mala Tang
Aug 26, 2025 · Fundamentals

Beyond 127.0.0.1: Unlocking the Full Power of the Loopback IP Range

This article reveals that the familiar 127.0.0.1 address is just one of over 16 million loopback IPs, explains what a loopback interface is, shows practical uses such as parallel testing, service isolation, DNS simulation, and warns about security pitfalls when misusing the 127.x.x.x range.

IP addressNetworkinglocalhost
0 likes · 12 min read
Beyond 127.0.0.1: Unlocking the Full Power of the Loopback IP Range
DevOps Operations Practice
DevOps Operations Practice
Oct 22, 2024 · Cloud Native

How to Find the IP Address of a Docker Container

This guide explains how to quickly retrieve the IP address of a running Docker container using simple commands such as `docker ps`, `docker inspect`, and a formatted inspect query, with step‑by‑step instructions and example output for easy debugging and network configuration.

ContainerDockerIP address
0 likes · 3 min read
How to Find the IP Address of a Docker Container
Liangxu Linux
Liangxu Linux
Jul 21, 2024 · Operations

How to Sort IP Addresses with a Simple Shell Script

This guide walks through a real‑world operations scenario, showing how to write and run a Bash script that uses the sort command with numeric and field options to correctly order a list of IP addresses for easier log analysis and network troubleshooting.

AutomationIP addressLinux
0 likes · 4 min read
How to Sort IP Addresses with a Simple Shell Script
21CTO
21CTO
Mar 23, 2024 · Fundamentals

What Is localhost? Uncover the Difference Between localhost and 127.0.0.1

This article explains what localhost and the loopback address 127.0.0.1 are, how they are resolved without DNS, their role in web development, the domain name hierarchy, private IP ranges, virtual hosting, and an introduction to IPv6 addressing.

127.0.0.1DNSDomain Name
0 likes · 11 min read
What Is localhost? Uncover the Difference Between localhost and 127.0.0.1
Liangxu Linux
Liangxu Linux
Jan 8, 2024 · Information Security

How Visible Is Your IP Location? Risks, Regulations, and Protection Tips

Since 2021 Chinese platforms have begun displaying users' IP location down to the province or country, sparking privacy debates, legal scrutiny, and practical advice on how IP addresses work, what data they reveal, and how individuals can safeguard their online anonymity.

IP addressdata securitynetwork fundamentals
0 likes · 11 min read
How Visible Is Your IP Location? Risks, Regulations, and Protection Tips
Open Source Linux
Open Source Linux
Dec 14, 2023 · Fundamentals

Mastering IP Addresses: From ifconfig to CIDR and Beyond

Learn how to view and interpret IP addresses on Windows and Linux using commands like ipconfig, ifconfig, and ip addr, understand the differences between ifconfig and ip addr, explore IPv4 classes, CIDR notation, public vs private IPs, and MAC addresses, and network interface flags.

CIDRIP addressLinux
0 likes · 15 min read
Mastering IP Addresses: From ifconfig to CIDR and Beyond
macrozheng
macrozheng
Jul 22, 2023 · Fundamentals

Why Direct IP Access Fails: The Hidden Role of the Host Header in HTTPS

Although you can obtain a website’s IP address, accessing it directly via HTTPS often fails because the HTTP request’s Host header differs, and servers use this header to verify the intended domain, leading to 403 errors unless the correct Host value is supplied.

HTTPHTTPSHost header
0 likes · 5 min read
Why Direct IP Access Fails: The Hidden Role of the Host Header in HTTPS
php Courses
php Courses
Jul 3, 2023 · Backend Development

Six Methods to Retrieve the Client IP Address in PHP

This article presents six different PHP code snippets that demonstrate how to obtain a visitor's IP address using various server variables and environment functions, covering common scenarios such as proxies, CDN headers, and direct connections.

BackendIP addressNetworking
0 likes · 3 min read
Six Methods to Retrieve the Client IP Address in PHP
IT Services Circle
IT Services Circle
May 29, 2023 · Databases

Storing IPv4 Addresses in MySQL: Choosing the Optimal Data Type

The article explains why storing IPv4 addresses as VARCHAR is suboptimal, demonstrates that a 32‑bit unsigned INT perfectly fits an IPv4 address, compares storage size and query performance, and shows how to use MySQL's inet_aton and inet_ntoa conversion functions.

IP addressdata typeinteger
0 likes · 6 min read
Storing IPv4 Addresses in MySQL: Choosing the Optimal Data Type
Java Backend Technology
Java Backend Technology
Aug 5, 2022 · Databases

Why Store IPv4 Addresses as UNSIGNED INT in MySQL? Benefits, Drawbacks & Java Example

This article explains why using a 32‑bit UNSIGNED INT to store IPv4 addresses in MySQL saves space and improves query performance, outlines the trade‑offs such as readability, shows MySQL conversion functions, discusses IPv6 alternatives, and provides Java code for converting between string and numeric representations.

Database PerformanceIP addressJava
0 likes · 5 min read
Why Store IPv4 Addresses as UNSIGNED INT in MySQL? Benefits, Drawbacks & Java Example
Liangxu Linux
Liangxu Linux
Jul 24, 2022 · Fundamentals

Master IP Address Lookup: From ifconfig to CIDR and Beyond

This guide explains how to view IP addresses on Windows and Linux, compares commands like ipconfig, ifconfig, and ip addr, and delves into networking fundamentals such as CIDR, public vs private IP ranges, MAC addresses, and interface flags.

CIDRIP addressLinux
0 likes · 16 min read
Master IP Address Lookup: From ifconfig to CIDR and Beyond
Top Architect
Top Architect
Jun 5, 2022 · Databases

Why Store IPv4 Addresses as UNSIGNED INT in MySQL: Benefits, Drawbacks, and Java Conversion

The article explains that using a 32‑bit UNSIGNED INT to store IPv4 addresses in MySQL saves space and improves indexing and range queries, outlines the conversion functions and their performance, discusses readability drawbacks, and provides Java code for bidirectional conversion between string and integer representations.

IP addressJavaUNSIGNED INT
0 likes · 6 min read
Why Store IPv4 Addresses as UNSIGNED INT in MySQL: Benefits, Drawbacks, and Java Conversion
Liangxu Linux
Liangxu Linux
Nov 11, 2021 · Fundamentals

How Do URLs Turn Into IP Addresses? A Deep Dive into DNS and Domain Names

This article explains the relationship between URLs, IP addresses, and domain names, detailing how the DNS system resolves human‑readable addresses to numeric IPs, the structure of URLs, the history and hierarchy of DNS, and the step‑by‑step process of domain name resolution.

DNSDomain NameIP address
0 likes · 12 min read
How Do URLs Turn Into IP Addresses? A Deep Dive into DNS and Domain Names
Su San Talks Tech
Su San Talks Tech
Oct 13, 2021 · Fundamentals

Why Can You Ping 127.0.0.1 Even When the Network Is Down?

This article explains the nature of the 127.0.0.1 loopback address, why pinging it works without a physical network connection, the differences between 127.0.0.1, localhost and 0.0.0.0, and how the kernel processes loopback traffic using a virtual network interface.

IP addressKernelSocket
0 likes · 13 min read
Why Can You Ping 127.0.0.1 Even When the Network Is Down?
Liangxu Linux
Liangxu Linux
Jul 13, 2021 · Fundamentals

How DNS Translates Domain Names to IP Addresses: A Complete Guide

This article explains why web browsers use domain names instead of IP addresses, how the DNS system automatically resolves those names through a hierarchical namespace, the roles of hosts files, root and authoritative servers, query types, transport protocols, and practical lookup examples.

DNSDomain Name SystemDomain hierarchy
0 likes · 19 min read
How DNS Translates Domain Names to IP Addresses: A Complete Guide
Laravel Tech Community
Laravel Tech Community
May 23, 2021 · Fundamentals

Understanding IP Addresses, Subnet Masks, and Subnetting (VLSM & CIDR)

This article explains the purpose and representation of IP addresses, details binary‑decimal conversion methods, describes the five IP classes, subnet mask functions, private versus public address ranges, and provides step‑by‑step guidance on subnetting, VLSM, and CIDR calculations with examples.

CIDRIP addressSubnet Mask
0 likes · 10 min read
Understanding IP Addresses, Subnet Masks, and Subnetting (VLSM & CIDR)
php Courses
php Courses
Feb 24, 2021 · Fundamentals

Understanding IP Addresses, CIDR, and MAC Addresses

This article explains how to view a machine's IP address on Windows and Linux, describes the structure and classification of IPv4 addresses, introduces CIDR subnetting, distinguishes public and private IP ranges, and clarifies the role and format of MAC addresses.

CIDRIP addressLinux
0 likes · 9 min read
Understanding IP Addresses, CIDR, and MAC Addresses
Liangxu Linux
Liangxu Linux
Aug 30, 2020 · Fundamentals

What’s the Real Difference Between Bandwidth and Broadband? A Complete Guide

This article explains the technical distinction between bandwidth and broadband, shows how to convert bandwidth to download speed, clarifies the relationship among bandwidth, network speed, and traffic, and details upstream/downstream bandwidth, server bandwidth, and the differences between private and public IP addresses.

IP addressbandwidthbroadband
0 likes · 15 min read
What’s the Real Difference Between Bandwidth and Broadband? A Complete Guide
Open Source Linux
Open Source Linux
Jul 10, 2020 · Fundamentals

Public vs Private IP Addresses and NAT Explained: A Complete Guide

This article explains the difference between public and private IP addresses, details the IPv4 class A‑E ranges, describes why private networks often use 192.168.x.x, and introduces NAT as the mechanism that maps internal addresses to external ones for internet access.

IP addressIPv4 classesNAT
0 likes · 6 min read
Public vs Private IP Addresses and NAT Explained: A Complete Guide
macrozheng
macrozheng
Mar 10, 2020 · Fundamentals

Understanding 0.0.0.0 vs 127.0.0.1: When to Use Each IP Address

This article explains the fundamental differences between the special IPv4 addresses 0.0.0.0 and 127.0.0.1, covering their classifications, typical usages such as default routing and loopback testing, and practical considerations for binding services in server environments.

0.0.0.0127.0.0.1IP address
0 likes · 9 min read
Understanding 0.0.0.0 vs 127.0.0.1: When to Use Each IP Address
Aotu Lab
Aotu Lab
Dec 30, 2016 · Fundamentals

Master Common Regex Patterns: Digits, Times, IPs, and HTML Tags

This article walks through practical regular‑expression exercises, explains each solution with clear JavaScript examples, and then expands to real‑world patterns for matching dollar amounts, 24‑hour times, IP addresses, quoted strings, and HTML tags, offering tips for building robust regexes.

IP addresshtml-tagpattern-matching
0 likes · 13 min read
Master Common Regex Patterns: Digits, Times, IPs, and HTML Tags