Displays your current client IP address, supporting both IPv4 and IPv6
The Client IP tool displays your current client IP address. When you access the internet, your device is assigned a unique IP address that the target server can identify. This tool retrieves your real IP directly from the server side, supporting both IPv4 and IPv6 address formats.
This tool also serves as a demonstration of a "complex tool requiring PHP backend processing," showcasing how custom server-side logic can be embedded in a tool detail page.
Client IP detection relies on source address information in HTTP requests. The server can read the REMOTE_ADDR variable to get the directly-connected client IP. When behind a reverse proxy (Nginx, Cloudflare, CDN), the real client IP is carried in X-Forwarded-For or CF-Connecting-IP headers.
This tool uses the framework's built-in getClientIp() method, which automatically handles proxy header priority logic for the most accurate result.
The Client IP tool is the most basic network utility. You may also find URL Decoder, URL Encoder, and URL Params to Table useful for other networking tasks.