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:
- Open the email in Gmail.
- Click the three-dot menu next to the reply button.
- Select Show original.
- 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.







