rust.solutions

Huck Access API

access.rust.solutions is a public debug endpoint that returns the caller’s IP address, port, and HTTP headers as JSON. Useful for verifying reverse-proxy passthrough, debugging connectivity, or confirming which IP the server sees.

No authentication required. Rate-limiting is recommended at the nginx layer for production use.

Endpoints

MethodPathDescription
GET/Returns caller IP, port, headers, timestamp
GET/healthzLiveness check

Response

{
  "ip": "203.0.113.42",
  "port": 54321,
  "headers": {
    "host": "access.rust.solutions",
    "user-agent": "curl/8.7.1",
    "x-forwarded-for": "203.0.113.42"
  },
  "ts": 1787700000
}

Example

curl https://access.rust.solutions/