Ask Leo! by Leo A. Notenboom

How to find the IP address of my computer?

Search First! Then browse: Categories | Full Archive | By Date | Newsletter

Home » Networking » Network IP Addressing

Summary: Determining your own IP address is very easy, but it first requires understanding which IP address it is you want to see.

How to find the IP address of my computer? Is there any command?

Sure there are commands.

But I have to ask you a question first:

Which IP address do you want?

Your Computer

Each machine connected to a TCP/IP network is assigned an IP address; this we already know. It's not that difficult to determine what that IP address is.

In versions of Windows from Windows 2000 and later, run the Windows Command Prompt (Typically in Start, All Programs, Accessories). In the command prompt, type IPCONFIG and you'll get something similar to this:

Windows IP Configuration

Ethernet adapter Local Area Connection 2:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.1.5
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
"... since I'm behind a router, this is not the IP address that will actually be used when I access the internet."

As you can see, the IP address of this computer is listed as "192.168.1.5".

(In Windows 98 and 95, you can Start->Run a program called "winipcfg" and get roughly the same information without using a command prompt.)

Now it's important to note that this is the IP address of the computer. In fact, since I'm behind a router, this is not the IP address that will actually be used when I access the internet. The IP address shown here is my computer's IP address on my local network only.

Your Internet IP Address

The IP address assigned to your internet connection is most easily seen by visiting any of the many "show me my IP address" pages on the internet. The one I remember most often is ipchicken.com, but there are others.

Including my own: http://ask-leo.com/whats_my_ip_address.html will show you your internet IP address and a few additional bits of information.

Even better, since any web site you visit gets the information, your IP address is: 38.107.191.106.

Why are they different?

Sometimes they're not. If your computer is connected directly to the internet, then your machine is assigned an internet IP address. The IP address you see using ipconfig will be the same as that which you see reported by the "what's my IP" sites.

If you're behind a router (or a modem that is acting as a NAT router) then the internet IP address is actually assigned to the router. The router then hands out "local" IP addresses to the individual machines connected to it. Those are the "192.168." addresses you'll commonly see when running ipconfig. In fact, "192.168.x.x" is an invalid internet IP address, as that range, and a couple of others, are reserved exclusively for local network use.

When you're behind a NAT router, "ipconfig" will report your machine's local IP address, and the IP reporting web sites will show you your internet IP address.

Related:

Helpful? Get new articles weekly by email in my FREE newsletter!

Your Name:
Your Email:


Why Subscribe?

  • What's my IP address? We'll look at some of the specific information that you're making available to every website you visit, and briefly explain each.

  • What can people tell from my IP address? People can tell very little from your IP address. They cannot, for example, tell who or where you are. How much they can tell varies a great deal.

Article C3557 - November 6, 2008

Recent Comments
14 Comments

Be careful slinging the raspberries, Glenn P. !
"he mannaged to misspell the command"
contains a misspelling of its own!
("managed" contains but one "n")

:o :) :=)

Posted by: Just Jim at November 11, 2008 10:03 AM

Strictly speaking, 'machines' don't have IP addresses, it's network adapters that have an IP address! You'll have an IP address for each network card installed; thus your computer could have two or three!

Posted by: Julian Hicks at November 11, 2008 11:29 AM

Thanks, everybody, but I already figured it out, which I should have done before firing off my comment. It's nice to know that somebody else is not perfect.

Posted by: Robert Solarski at November 11, 2008 2:27 PM

Another way to find the IP Address is to go to the Internet and type in www.whatismyip.com. This works for only one networkcard. With more than one networkcard I don't know if it would show multiple IP Addresses.

As mentioned in the article services like whatismyip.com only show you your internet IP address, they do not and can not show you the IP address of your machine (er, your machine's network card) on your local LAN if you have a router.
- Leo
13-Nov-2008

Posted by: DarMar at November 12, 2008 8:37 AM

how to configure the publicip to windows server 2003operating system with through lan and staticip

Posted by: venky at November 17, 2008 2:11 AM

I got windows vista and when I type the IPCONFIG in search I get a result but when I click it it seems to open but then it close in less than a second after being open

Posted by: a at February 9, 2009 4:45 PM

This new web site will tell you BOTH your external address (like the other sites) but also the local IP address of your computer, and the IP address of your router. Now you don't need IPCONFIG!

Posted by: Trevor at February 11, 2009 3:35 PM

http://findmyrouter.skahasoftware.com

Posted by: Trevor at February 11, 2009 3:36 PM

Is the infor mation at find my router available to them or just to the pc owner?

Posted by: RLJ at February 19, 2009 6:50 AM

hi,
Well u gave the instructions are good. I Normally used to check the IP address details in ip-details.com. It is very easy to find IP address along with the route map.

Posted by: ahamed at April 24, 2009 11:04 PM

Post a comment on "How to find the IP address of my computer?":






(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!

(you may use HTML tags for style)

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

  • Read the article at the top of this page. If your comment shows you didn't, it'll be deleted and ignored.

  • Comment only on this article. Use the Google search box at the top of the page if you have a question about something else.

  • Don't include personal information in the comment. No email addresses. No phone numbers. No physical addresses.

  • Don't spam. Excessive links to unrelated sites within a comment or across multiple comments will cause all such comments to be removed.

  • Don't ask me to recover lost passwords or hacked accounts. I can't, and those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...


Question? Ask Leo!