What is My IP Logo

What is My IP?

Your guide to IP addresses, online privacy, and internet security

How to Trace an IP Address (Legal Step-by-Step)

Updated: April 2026 Geolocation & Tracing

"Tracing an IP" sounds like a TV trope, but it's a real, legal lookup of public network data. You can find the country, region, city, ISP, and network details for any IP. What you cannot do legally is unmask the human owner — that requires a court order. Here's the step-by-step.

Step 1: Get the IP

You need the actual IP address. Common sources: server logs (web server, email server, SSH attempts), email headers (look for the X-Originating-IP header or the first Received line), game lobby logs, or any service that records who connected.

Step 2: Run the trace

Paste the IP into our IP tracer. You'll get country, region, city, latitude/longitude, ISP, ASN, and reverse DNS. This information is publicly available — no login or permissions needed.

Step 3: Run a WHOIS lookup

WHOIS reveals which organization owns the IP block. For consumer IPs, you'll see the ISP. For server IPs, you may see a hosting company (AWS, Hetzner, OVH, etc.) or the actual organization that owns the range. See our WHOIS guide.

Step 4: Reverse DNS

Reverse DNS often gives a hostname like pool-12-34-56-78.lightspeed.lsngmi.sbcglobal.net — that pattern reveals the ISP, region (lsngmi = Lansing MI), and connection type (lightspeed = AT&T Fiber). Useful for pattern-matching hostile traffic.

What you cannot do legally

  • Get a name and address. That mapping exists only at the ISP. Law enforcement requests via subpoena can compel disclosure; you cannot.
  • Hack their device. Even probing open ports can violate computer-misuse laws in many jurisdictions.
  • Doxx them. Publishing IP-to-real-identity guesses for harassment is illegal in most places.

What to do if someone's targeting you

If an IP is harassing, attacking, or threatening you, the right path is: collect logs with timestamps, file a report with your local police and the FBI's IC3 (US) or your country's equivalent, and report to the source ISP's abuse contact (visible in WHOIS).

Try it now

Curious what your IP is showing the world right now? Check your IP address & location instantly with our free tool — no signup, nothing stored. Or trace any other IP to see its geolocation, ISP, and network details.