Find Your IP Address (3 Ways)

Sheharyar Malik
By Sheharyar Malik Senior Software Engineer
Posted on June 12, 2024 | 5 min read
Find Your IP Address (3 Ways)
Back to All Posts

Sometimes you need an IP address: your own public address to share with a support team or allow through a firewall, your device's local address for a network setup, or the mail servers behind an email you received.

This guide shows three ways to find those addresses and what an IP lookup can tell you.


But First, What Is an IP Address, Anyway?

An IP address is like a digital fingerprint that identifies each device when it connects to the internet through the Internet Protocol (IP). It enables the internet to know where to send data when you request it. Think of it as your device's home address in the vast network of the internet. Internet Service Providers (ISPs) are the ones responsible for assigning these addresses, whether it's for your home Wi-Fi or your workplace network.


1. IPv4 and IPv6 Addresses

There are two main types of IP addresses.

IPv4 Addresses: These are the classic IP addresses you're probably familiar with: four sets of numbers separated by dots (like 192.168.1.1). They've been around for a while, but we're running out due to the explosion of internet-connected devices.

IPv6 Addresses: To solve the problem of IPv4 address scarcity, IPv6 came into play. Instead of numbers separated by dots, IPv6 addresses use a mix of numbers and letters separated by colons (like 2001:0db8:85a3:0000:0000:8a2e:0370:7334). This expanded format provides way more possible addresses, ensuring that every device can have its unique identifier.

Read More: What is an IP Address and How Does It Work?


Which IP address does each method show?

These methods show different addresses. Choose the one that fits what you want to check.


1. Check your public IP or look up an IP you already have

If you already have someone's IP address, an IP lookup tool can help you learn more about it. Depending on the available data, you may find its approximate geographic location, internet service provider (ISP), organization, and other network details.

If you're checking your own IP address, search Google for "what is my IP address" or visit IPGeolocation.io to look up your public IP address.

Keep in mind that an IP lookup tool cannot discover someone's IP address from their name or email address alone. It provides information about an IP address you already have, and the results generally cannot establish a person's exact location or identity.


2. Inspect the mail servers in an email header

Email headers contain technical information about an email's delivery, including details about the mail servers involved. In some cases, they may contain an IP address associated with the sender's email system, but this is not necessarily the sender's personal IP address.

For example, Gmail lets you inspect an email's original headers:

  1. Open the email in Gmail.
  2. Click the three-dot menu next to the reply button.
  3. Select Show original.
  4. Review the headers for relevant IP addresses in the delivery information.

Keep in mind that Gmail and other email providers may omit the sender's original IP address. The addresses shown may belong to mail servers or email services instead. SPF records do not guarantee that a sender's personal IP address will appear in the headers.

Treat any IP address you find as a network clue rather than proof of someone's identity or location.


3. Find your device’s local IP address

For Windows users, finding the Command Prompt is as easy as typing "command prompt" or "cmd" into the search box on the taskbar. Mac users can open Terminal from Utilities or Spotlight. Linux users can open their terminal app.

Once you've opened the Command Prompt or Terminal, you can start typing commands. On Windows, run ipconfig. On macOS, run ifconfig. On Linux, run ip addr. Look for the address assigned to your active network interface. These commands reveal all sorts of details about your network connection, including your IP address, subnet mask, and gateway.


How To Find Someone’s IP Address Through Chat

This process requires you to be interacting with the person in a live chat, video call, or VoIP session. Whether you can see the other person’s IP address depends on how the service handles the connection.

To view the network connections from your device, you can use the netstat command. Open Command Prompt and run:

netstat -an

The command lists active network connections and their local and remote endpoints. The remote IP address shown here may belong to the person you are communicating with if the connection is direct. However, many modern chat and calling platforms route traffic through their own servers, so the remote address may belong to the platform instead.

For example, services such as Slack generally use intermediary servers rather than establishing a direct connection between two users. In those cases, netstat -an will typically show the service's servers, not the other person's IP address.

A direct peer-to-peer connection is therefore required for the remote endpoint to correspond to the other participant's device.


Conclusion

Knowing how to find an IP address helps with network setup, security checks, and troubleshooting. Check your own public IP with a lookup tool, inspect the mail servers in an email header, or use your device's network command to find its local IP.

Keep the limits in mind: an IP address can't be traced directly to a specific house. Use these methods responsibly and within the law, and respect other people's privacy.

FAQs

Seeing the IP address of a connection to your own site or server is normal and usually lawful. How you collect, store and use it is regulated in many places: under the GDPR, for example, an IP address can count as personal data. Using someone’s IP address to harass them or commit a crime is illegal.

In some cases, an IP address may be associated with activity on social media platforms, but access to this information is generally restricted to the platform and authorized parties. Social media users typically cannot directly obtain another person’s IP address through standard messaging or chat features.

An IP grabber serves as a third-party utility generating a clickable link, facilitating the retrieval of the user’s IP address. However, employing such tools poses significant privacy and security risks.

However, don’t resort to IP grabbers for IP address information. Instead, check your own public IP, inspect the mail servers in an email header, or use your device’s network command to find its local IP.

Although an IP address can provide considerable information, directly pinpointing it to a specific house is virtually unattainable. ISPs assign IP addresses that are linked to general areas rather than exact physical addresses.

An IP lookup estimates a network’s location, often at the country or city level. It cannot identify a specific residence.

Related Articles

How We Made One of Our Largest MMDB Builds 60x Faster with 85x Less Memory
How We Made One of Our Largest MMDB Builds 60x Faster with 85x Less Memory

One of our largest MMDB builds needed about 10 hours and 140 GB of RAM, and the data grows every day. Here's how we made it 60x faster with 85x less memory and the same answers, and the free tool that came out of it.

Posted on November 12, 2026
Read More: How We Made One of Our Largest MMDB Builds 60x Faster with 85x Less Memory
VPN Detection False Positives: Stop Fraud, Not Customers
VPN Detection False Positives: Stop Fraud, Not Customers

A VPN flag can be right about the address and still wrong about the customer. See where VPN detection false positives come from, the context that separates a privacy-minded customer from a fraudster, and how to measure the good users your rules turn away.

Posted on November 4, 2026
Read More: VPN Detection False Positives: Stop Fraud, Not Customers
How Should You Use an IP Threat Score?
How Should You Use an IP Threat Score?

Set IP threat score rules per action, learn which flags should change the answer, and test it all in shadow mode. See which signals contribute to an IP threat score and how to use them in your rules.

Posted on October 23, 2026
Read More: How Should You Use an IP Threat Score?
Residential Proxy Detection: How It Works, Why It's Hard
Residential Proxy Detection: How It Works, Why It's Hard

Residential proxies make automated traffic look like real households, which is exactly why IP reputation checks miss them. Here is how detection actually works: provider attribution, network and behavior signals, live connection analysis, and confidence scores instead of binary blocks.

Posted on July 27, 2026
Read More: Residential Proxy Detection: How It Works, Why It's Hard
Can a VPN Be Detected? How VPN Detection Works
Can a VPN Be Detected? How VPN Detection Works

Can a VPN be detected? Usually, yes. Here is how VPN detection works from the detection side, who can tell you use a VPN, what a positive result reveals, and what to do with one.

Posted on July 27, 2026
Read More: Can a VPN Be Detected? How VPN Detection Works
iCloud Private Relay vs Cloudflare WARP, Explained
iCloud Private Relay vs Cloudflare WARP, Explained

iCloud Private Relay and Cloudflare WARP both hide a visitor's real IP address, but they are built for different jobs and hide it in different ways.

Posted on July 23, 2026
Read More: iCloud Private Relay vs Cloudflare WARP, Explained

Subscribe to Our Newsletter

Get the latest in geolocation tech, straight to your inbox.