2026-01-06 17:38:14 +01:00
2026-01-06 17:29:24 +01:00
2026-01-06 17:29:24 +01:00
2026-01-06 17:29:24 +01:00
2026-01-06 17:29:24 +01:00
2026-01-06 17:29:24 +01:00
2026-01-06 17:29:24 +01:00
2026-01-06 17:38:14 +01:00

IP Pinger

A simple Node.js web service that returns the client's IP address.

Installation

npm install

Usage

Start the server:

npm start

The service will run on port 3000 by default. Visit http://localhost:3000 to see your IP address.

Environment Variables

  • PORT - The port to run the service on (default: 3000)

How it works

The service checks multiple sources to determine the client IP:

  1. X-Forwarded-For header (for proxies/load balancers)
  2. X-Real-IP header
  3. Socket remote address
  4. Connection remote address
S
Description
No description provided
Readme
35 KiB
Languages
JavaScript 81.4%
Dockerfile 18.6%