18 March, 2023
What is an IP address? How to look it up and hide it

Most people who use internet-connected devices have heard of the IP address. Every device, whether a smartphone, laptop, desktop or server, has its own IP address. To help you see why IP addresses matter in everyday life, MONA Media explains everything you need to know about IP in this article.
What is an IP address?
IP stands for Internet Protocol, the protocol that runs the internet. An IP address is a unique network address that lets devices identify each other and communicate over a computer network using that protocol. In practice it works as an identifier that lets devices exchange information efficiently: it carries location information so that devices can find and talk to one another.
When you connect to the internet, there has to be a way to tell computers, routers and websites apart. The IP address does this job and is a core part of how the internet works. An IP address is written as a string of numbers separated by dots.
An example of an IP address is 192.158.1.39.
Each number in an IP address is between 0 and 255, so the full range of IP addresses runs from 0.0.0.0 to 255.255.255.255. Within the structure of ICANN, an important unit called the Internet Assigned Numbers Authority (IANA) is responsible for designing and applying the methods used to allocate IP addresses.
ICANN is a non-profit organization founded in the United States in 1998 to keep the internet safe and secure and to make sure everyone can access and use it easily.
When users register register a domain a domain on the internet, they do it through a domain name provider. To complete the registration, they pay the provider a fee.
IP address versions
Two versions of the Internet Protocol are in use today: Internet Protocol version 4 and Internet Protocol version 6.
What is IPv4?
IPv4, or Internet Protocol version 4, is the fourth version of the Internet Protocol, designed to identify devices and carry data between them on a network. It is often discussed together with TCP/IP and sits at the internet layer of the network model. IPv4 was the first widely deployed version of IP and is still the foundation most networks around the world rely on.
An IPv4 address is written as four decimal numbers separated by dots. Each number represents 8 bits, so the four groups add up to 32 bits. Each group is called an octet, a set of 8 binary digits. The value of an octet ranges from 0 (all 8 bits are 0) to 255 (all 8 bits are 1), which gives 256 possible values.
An IPv4 address has two parts: the network part and the host part.
- The network part identifies the network a device is connected to and lets devices on the same network talk to each other directly.
- The host part identifies each individual device on that network, so devices on the same network can exchange information.
Splitting an IP address into a network part and a host part makes routing and device identification easier.
What is IPv6?
IPv6 is the sixth and newest version of the IP protocol. Developed by the IETF, it was designed to solve the shortage of IPv4 addresses. This version brings many improvements and is now widely used.
IPv6 uses 128 bits to encode an address, so it offers far more network addresses than IPv4. By one estimate it can provide (4*10^4)^4 (4 billion to the power of 5) IP addresses at the same time. With information technology growing so fast, rolling out IPv6 is increasingly necessary to deal with the shortage of IPv4 addresses.
However, because of compatibility problems with older equipment, the move from IPv4 to IPv6 has run into many challenges. Standards bodies have set out a transition plan, expected to run from 2019 to 2033.
IPv6 brings several clear improvements over IPv4, including:
- A larger address space: the address length grows from 32 bits to 128 bits.
- A better protocol header: Packets are forwarded more efficiently.
- Stateless auto-configuration: Network nodes can work out their own addresses.
- Multicast: Better one-way transmission.
- Jumbograms: Support for larger packets, handled more efficiently.
- Network-layer security: Provides authentication and encryption for communication.
- Quality of service (QoS): Packets are marked and prioritized to control traffic on the network.
- Anycast: Special unstructured addresses can be used for backup services.
- Mobility: Makes it easier to manage mobile devices and more convenient to move between areas.
What an IP address does
An IP address gives each internet-connected device an identity, so devices on the internet can communicate, recognize each other and exchange information. The Internet Protocol works much like a language: it follows agreed rules to carry information, and it lets electronic devices find, send and exchange data with other devices. Because everyone speaks this common language, any computer, wherever it is, can connect to any other.
An IP address is also the foundation of many online services. From email and web browsing to video calls and streaming, every service needs an IP address to set up a connection and move data between devices.
Think of sending a parcel to someone: you need their exact home address. An IP address works like your home address and routes data to the right destination. When you visit a website, your computer uses DNS to find the IP address of the server that hosts that site.
How is an IP address structured?
An IP address is made of four numbers separated by dots (.). IP addresses fall into 5 classes, A, B, C, D and E. Each class has its own structure and function and serves a different purpose when addresses are handed out to internet-connected devices.
Class A IP addresses
These are addresses whose first octet is between 1 and 126. This class is usually assigned to large organizations around the world. Class A addresses run from 1.0.0.1 to 126.0.0.0.
Class B IP addresses
These are addresses whose first octet is between 128 and 191. Class B is meant for mid-sized organizations worldwide. Class B addresses run from 128.1.0.0 to 191.254.0.0.
Class C IP addresses
These are addresses whose first octet is between 192 and 223. Class C is typically used by small organizations, including personal computers. The range runs from 192.0.1.0 to 223.255.254.0.
Class D IP addresses
These are addresses whose first octet is between 224 and 239. The first 4 bits of a class D address are always 1110. Class D is generally reserved for multicast and broadcast, and spans 224.0.0.0 to 239.255.255.255.
Class E IP addresses
These are addresses whose first octet is between 240 and 255. The first 4 bits of a class E address are always 1111. This class is usually reserved for research, with addresses from 240.0.0.0 to 254.255.255.255.
Loopback
Unlike the 5 classes above, this range uses the address 127.x.x.x and is used for loopback testing. In practice, class A, B and C addresses are the ones widely assigned to network nodes. Class D is used in some multimedia applications. Class E is still experimental and kept in reserve for future projects.
>> What is the IP address 127.0.0.1?
What is a subnet mask?
Subnet mask A subnet mask is a string of numbers expressed in 32 or 128 bits, used to divide an IP address on a TCP/IP network. Its job is to split an IP address into a network part (Network) and a host part (Host).
Dividing the host space of an IP into several subnets makes management and security more effective.
- A subnet mask has all network bits set to 1 and all host bits set to 0.
- Devices that share a network share the same subnet mask.
- Routers use a logical AND operation to separate the network part from the host part of an IP address.
With subnet masks, a large network is divided into smaller subnets, which makes it easier to manage and route network traffic.
The most common subnet masks in IPv4 are /24 (255.255.255.0) and /16 (255.255.0.0). In IPv6, the subnet mask is usually expressed in 128 bits.
Types of IP address
Four types of IP address are common today: public IP, private IP, static IP and dynamic IP. Each of them can be IPv4 or IPv6.
Private IP address
A private IP address is also called an internal IP address. It is widely used to connect devices inside a local network a LAN such as a home, company, office or school network. A private IP can be set manually or assigned automatically by the router. A private IP cannot connect directly to the internet or to computers outside the network.
Private IP ranges:
- Class A: 10.0.0.0 to 10.255.255.255
- Class B: 172.16.0.0 to 172.31.255.255
- Class C: 192.168.0.0 to 192.168.255.255
Public IP address
A public IP address is provided by your ISP so devices can connect to the wider network. Homes, organizations and businesses commonly use it to get on the internet. A public IP is essential for devices to connect and communicate with the global internet. With a public IP, users can also control which devices on the permitted list can access the network.
Static IP address
A static IP is an address assigned permanently to one person or one group. The advantage of a a static IP static IP is fast access to websites, faster internet speeds, and easier tracking, management and file downloads. Because it never changes, a static IP is usually given to a server so that many people can reach it reliably.
Dynamic IP address
A dynamic IP is an address that can change, the opposite of a static IP. Dynamic IPs are assigned automatically to each connection, such as a smartphone or a computer. This is the most widely used type. Providers hand out dynamic IPs to conserve the IP addresses that are running out today.
Pros and cons of IP addresses
The IP address is a key internet protocol in computer networks. It makes network management more effective, but it also has limitations. MONA Media walks through the pros and cons of IP below so you can understand it better.
Advantages of IP addresses
- It gives each device on a network a unique identifier, so devices are clearly told apart and data reaches the right one.
- It supports routing information across different networks, so devices in far-apart locations can still connect and communicate over the internet.
- With IPv6, IP addresses offer a huge supply of available addresses and extend connectivity to new devices.
- It makes network resources easier to manage.
Disadvantages of IP addresses
- IPv4 addresses are becoming scarce: As more and more devices connect, IPv4 addresses are running out, which makes it harder to assign addresses to the devices that need them.
- Weak security: An IP address does not keep data safe while it travels across the network. Without extra security protocols such as a VPN or HTTPS, data can be monitored or intercepted.
- Exposed to attacks: IP addresses can become targets for attacks such as DDoS, where a hacker sends a flood of requests to one IP address to jam the network.
- Complex management: On large networks, managing IP addresses can be complicated, especially when you have to track and maintain both static and dynamic addresses.
- Privacy concerns: An IP address can be used to track a user's online behavior. Websites and online services can use it to work out your location and browsing habits.
What IP addresses are used for
IP addresses matter a great deal in networking, and they bring clear benefits to users. But there are also risks on the internet: hackers use techniques such as social engineering and online stalking to get hold of your IP address for various purposes.
Online stalking
A hacker can track your IP address by watching your internet activity. Anything you do online, such as playing games or commenting on forums and websites, can give it away.
Once they have your IP address, hackers go to sites that track IP addresses, such as whatismyipaddress.comto collect information about your location. They can also check other open-source data to confirm that the IP really belongs to you. Next they search LinkedIn, Facebook or other social networks to find where you live and match it against the area the IP points to. Knowing your IP address, a hacker can then launch attacks by impersonating you.
Illegal downloads using your IP address
Hackers can use compromised IP addresses to download content illegally or to carry out other attacks. This damages the victim's reputation and can even expose them to legal action.
Tracking your device's location
Your IP address can reveal your approximate location, such as the region or city you are in. It cannot pinpoint your home address, but hackers can combine it with data from social networks to learn more about you.
Direct network attacks
Hackers can launch many kinds of network attacks, the best known being DDoS. In a DDoS attack, the hacker uses compromised devices to send a huge number of requests to a specific server or system. The server is overloaded, cannot cope with the sudden surge in traffic, and the service is disrupted or goes down.
Attacking your device
Every internet-connected device uses an IP address and ports to communicate with other services and applications. Hackers can use open ports to break into your system and install malware on your device.
How to check an IP address
A computer's address is normally made up of an internal IP and a public IP. Checking your IP is simple: a few steps are all it takes, as shown below.
Check your internal IP address
Step 1: Select Start Menu and go to Control Panel.
Step 2: Click View network status and tasks.
Step 3: Select the network you are connected to and click Details.
Step 4: The IPv4 Address line is your internal IP on the network.
You can also find your IP address faster with Command Prompt.
Step 1: Press the keys Windows + R to open Run. Type CMD
Step 2: Type the command "ipconfig" to find your IP address. The IPv4 Address line in the window that appears is your IP address.
How to check your public IP address
To check your public IP address quickly, go to www.whatismyip.com. Looking up your IP on this site shows not only your IP address but also your provider and your position on a map.
How to hide your IP address
As mentioned above, an IP address is unique and cannot be duplicated. The IP you are given is not tied directly to your device, but you should still be careful: if your IP is exposed, your personal information can be stolen. For example, when you use the internet at a convenience store or a cafe, your IP address is shown and logged. Hackers can exploit this, break in through that address, steal personal information and get into your accounts in order to scam you. One of the most effective ways to prevent this is to hide your IP address, which keeps your personal information and your address from leaking.
Why hide your IP address?
Hiding your IP address is one way to protect your privacy and improve your network security. When you connect to public internet, especially in places like cafes and convenience stores, your device's IP address can be logged and become a target for hackers.
With just an IP address, bad actors can do a lot of damage, such as tracking your online activity, running scams or taking your personal data. Hiding your IP keeps you from being tracked, lowers the risk of attacks and keeps your device safe. It is an effective way to protect your personal information and avoid threats from the internet.
Hide your IP address with a proxy server
A proxy server is an intermediary server that routes your traffic. When you go online, the target server only sees the proxy's IP address, not your own. Responses from those servers go back to the proxy first and are then forwarded to you. Keep in mind that some services can monitor your activity through a proxy, so you need to consider how trustworthy it is. Depending on how it is used, a hacker may also be able to inject ads into your browser.
Hide your IP address with a VPN
Unlike using a proxy server, when you use a VPN to hide your IP address, the virtual private network sends your internet traffic through another private server. Your real IP is hidden from the sites you visit and replaced by the server's IP. With a VPN you can use IP addresses from many different countries, because VPN servers are spread around the world. A VPN is also simple to use: download the app and a few clicks change your IP.
How to find your IP address on Windows and MacBook
Here is how to look up your IP address on Windows and MacBook:
How to see your IP address on Windows
Method 1: Use Command Prompt
- Press the keys Windows + R to open the dialog box Run.
- Type Cmd and press OK to open the window Command Prompt.
- In the Command Prompt window, type the command ipconfig and press Enter. Your computer's IP address appears next to IPv4 Address.
Method 2: Use Task Manager
Right-click the Taskbar and choose Task Manager.
In the Task Manager window, switch to the Performance tab. Choose Wi-Fi (if you use a wireless network). The IP address is shown next to IPv4 Address.
Both methods are simple and quick, and make it easy to check your IP address on a Windows computer.
How to see your IP address on a MacBook
Method 1: Check in System Preferences
Click the Apple logo in the top left corner of the screen, then choose System Preferences.
In the System Preferences window, choose Network.
The MacBook's IP address appears below the status line of the network you are connected to.
Method 2: Use Terminal
Press Cmd + Space to open Spotlight Search, then type Terminal and press Enter.
In the Terminal window, type the command:
ifconfig | grep 'inet ' | grep -v 127.0.0.1
Press Enter to run the command.

The MacBook's IP address is the string of numbers that appears after the word inet in the output.
Both methods are simple and suit a quick IP check on a MacBook.
How to see your IP address on Android and iPhone
To look up your IP address directly on an Android phone or an iPhone, follow these steps:
Look up your public IP address on your phone
How to check your public IP address on Android and iPhone:
On an Android phone:
- Open the browser on your phone.
- Type the keyword "what is my IP" into the Google search bar and press Enter.
- Google shows your public IP address at the top of the results page.
On an iPhone:
- Open the web browser on your iPhone.
- Go to the website https://www.whatismyip.com.
- The iPhone's public IP address is shown right on the page.
Note: You can also use other sites such as https://www.ipchicken.com or https://whatismyipaddress.com to check your public IP address. This works on phones and tablets alike.
Look up your private IP address on your phone
Method 1: Look up the IP address on an iPhone
- Open the Settings app on your iPhone.
- Choose Wi-Fi.
- Tap the name of the network Wifi you are connected to.
- The iPhone's private IP address appears under IP Address in the network information section.
This method is simple and quick, and lets you check your IP address right on the phone.
Method 2: Look up your private IP address on an Android phone
- Open Settings on your Android phone.
- Scroll down and choose About phone (About phone).
- Then choose Status (Status).
- Here the phone's private IP address is shown on the IP Address line.
How to check your IP address with TrueIP
Step 1: Go to https://www.haztek-software.com/applications/trueip. Download the latest version of the software.
Step 2: Install the software
Open the installer you just downloaded. If a warning appears Windows Protected Your PC, click More Info, then choose Run Anyway to continue.
Accept the terms by ticking I Accept The Agreement, then click Next.
Choose an install location (if needed) or click Next to keep the default.
Click Install and wait for the installation to finish.
Click Finish to finish the installation.
Step 3: Start TrueIP and read the IP details. The window shows the main details:
- Local Address: Internal IP address on the LAN (usually in the form 192.168.x.x).
- External Address: The public IP address used to connect to the internet.
Step 4: Save or share the IP information
Click Copy All Information to copy all the IP information (Local IP and External IP). You can save or share it whenever you need.
Step 5: Right-click the TrueIP icon on the Taskbar and choose Options.
In Options, you can:
- General: Customize pop-up notifications, start with Windows, or run in hidden mode.
- Check Frequency: Set how often the IP is checked.
- Turn on notifications when the IP address changes, or save a log file.
TrueIP does more than check your IP address quickly. It also gives you useful features such as IP change notifications and IP history.
How to look up a location from an IP address
Go to an IP lookup site. Reliable options include IP Location, IP Info and IP Stack. On the site's main page, find the Search box or Enter IP Address. Type the IP address you want to locate and press Enter or the Search button.
Common details these services provide:
- Country and city: The geographic location of the IP.
- Latitude and longitude: the approximate coordinates of the IP address.
- ISP: The internet service provider.
- Area code: Information about the specific region.
Things to keep in mind when using IP lookup services:
- Accuracy: The information is only approximate, especially for dynamic IPs, proxies or VPNs.
- Security: Do not enter sensitive IP addresses on sites you do not trust.
- Using an API: Some sites such as IPStack or IPInfo offer an API for automated lookups with more detailed data.
How to find another computer's IP address on a LAN
To find the IP address of another computer on your LAN, follow these steps:
Find another computer's IP address with Advanced IP Scanner
Advanced IP Scanner is a tool that lets you look up IPs on a LAN quickly. Follow these steps.
Step 1: Download the software from the Advanced IP Scanner website.
Open the installer and choose English as the language to make it easier to use.
Click Install and then choose Next.
Step 2: Accept the terms and finish the installation
Tick I Accept The Agreement to accept the terms.
Click Install to start installing the software.
When the installation is done, click Finish to open Advanced IP Scanner
Step 3: Scan the IP and MAC addresses on the LAN. On the main screen, click the Scan.
The software scans all devices connected to the same LAN.
Step 4: When the scan finishes, you will see a list of devices on the same LAN, including:
- IP Address: The IP address of each device.
- Device Name: The device name.
- MAC Address: The MAC address.
- Manufacturer: The manufacturer of each device.
Find another computer's IP address through Home Network
To check the IP addresses of other computers through Home Network, follow the steps below:
Step 1: Switch the network to Home Network. Open Control Panel by pressing Windows + R, type Control Panel, then press Enter.
Select Network and Internet and continue by choosing Network and Sharing Center.
If your network is set to Public Network, you need to switch it to Home Network.
To do this, click Public Network and choose Home Network. Then click Cancel to finish the switch.
Step 2: Open Network and Sharing Center. Next, open Network and Sharing Center again (from Control Panel or by clicking the network icon at the right of the screen).
Step 3: Over Network and Sharing Center, click See Full Map.
The system loads and shows a map of your whole LAN, including the computers and devices connected to it.
Step 4: Once the network map is ready, move the mouse over the computers in the network. You will see each computer's IP address when you hover over it.
You can do the same with any other computer whose IP address you want to check.
Note:
- Make sure every computer on the LAN is set to Home Network so this feature works properly.
- This method makes it easy to find the IP address of a computer on the same network without any extra software.
How to fix an IP conflict on your computer
An IP address conflict is a common error on computers, and it can have several causes. To deal with it, follow the steps below.
What are the signs of an IP conflict?
When an IP address conflict happens, you will see error messages like these:
- There is an IP address conflict with another system on the network
- This IP address is already in use on the network. Please reconfigure a different IP address.
Or you may lose your network connection even though the modem and router are working normally. This usually happens when two devices on the same LAN are given the same IP address.
Why does your computer have an IP conflict?
- Adding new devices to the network without checking and configuring them properly can lead to an IP address conflict.
- An unstable or interrupted network can cause an IP conflict when devices cannot get a new IP address from the DHCP server.
- You set static IP addresses for the devices on your network but accidentally give the same IP address to more than one device.
- The DHCP (Dynamic Host Configuration Protocol) server may fail and hand out the same IP address to several different devices.
How to fix an IP conflict
Method 1: Restart the modem and router
- Restart the modem: Plug the modem's power cable back in and wait until its indicator lights settle (about 1-2 minutes).
- Restart the router: Plug the router's power cable back in and wait until its indicator lights settle (about 1-2 minutes).
This is a simple but effective way to clear up IP conflicts and keep your network connection stable
Method 2: Renew your IP with CMD
Click Start and type RUN, then open Run.
In the Run window, type CMD and press Enter to open Command Prompt.
In the Command Prompt window, enter the following command and press Enter:
ipconfig /release
This command releases your current IP address, and your computer temporarily loses its network connection. If your computer uses a static IP, you may get this error message:
The operation failed as no adapter is in the state permissible for this operation.

After the old IP address is released, enter the following command to ask the system for a new IP address:
ipconfig /renew
You can ignore this message and move on to the next step. The computer will automatically ask DHCP for a new IP address. The new address appears under the IPv4 Address line in the command output.
Method 3: Set the IP address yourself
When you use a static IP, choosing the address carefully is important to avoid conflicts with other devices on the same network. Below are the detailed steps to configure a static IP, or to let DHCP assign your computer a new IP address automatically:
Step 1: Open Network Settings
Open Control Panel (Control Panel). Choose Network and Sharing Center (Network and Sharing Center). Under Network and Sharing Center, choose Change adapter settings (Change adapter settings).
Step 2: Right-click the network connection your computer is using (Wi-Fi or Ethernet). Choose Properties (Properties) from the menu.
Step 3: In the Properties window, find and choose Internet Protocol Version 4 (TCP/IPv4). Click Properties (Properties).
Step 4: Choose the IP configuration. You have two options:
- Obtain an IP address automatically (get the IP address from DHCP): Choose this option to let DHCP assign the computer an IP address automatically. DHCP will pick an address that does not conflict with anything on the network.
- Use the following IP address: If you want to set a static IP, enter the IP address, subnet mask and default gateway correctly. Note: make sure the IP address you choose is not already used by another computer on the network.
Note on using a static IP: when you set a static IP, choose an address inside your network's address range that no other device uses. To avoid conflicts, you can check which IPs have already been assigned on the network, or let the computer use DHCP to find an unused IP automatically.
Frequently asked questions about IP addresses
How can I find out which country a website's IP address is in?
To find the country of the IP address behind a website, you can use either of these approaches:
- Use online tools such as Geotool.io, Whois.com, IPLocation.net or IPInfo.io. Enter the website's URL in the search box, click "lookup" and wait for the result.
- Install browser extensions such as the GeoIP2 Chrome Extension, Flagfox or Website Country Blocker
Can I change the IP address on my personal device? How?
You can change the IP address of a personal device in these ways:
- Static IP: you need to contact your internet service provider directly to request a new address.
- Dynamic IP: changes automatically after a certain period of time.
- Restart the router or modem.
- Turn the Wi-Fi device off and on again.
- Use free software to change the
How can I check whether my device's IP address is leaking on the internet?
Protecting your IP address and checking for leaks is important for staying safe and private online. To find out whether your device's IP address is leaking, you can use either of these two approaches:
- Use an online tool: ExpressVPN Leak Test, IPLeak.net and CyberGhost Privacy Hub
- Use a browser extension: HMA Pro VPN Leak Blocker, WebRTC Leak Prevent, Hola VPN.
That is everything MONA Media wanted to share about IP addresses. We hope it helps you understand why IP addresses matter. If you have any questions about IP addresses, leave them in the form below and the MONA Media team will answer them for you.
IP FAQ
What is an IP?
Related articles
Professional website
design services
Own a website with a beautiful, 100% exclusive design and a lifetime warranty, with the ability
to expand features flexibly as your business grows, starting today!































Free AI courses
AI tools at work
VI
EN


