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:
IP Address. . . . . . . . . . . . : 192.168.1.5
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
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: .
âą
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.
When I enter âIPCONFGâ in the command prompt as directed, I get a message that it is not recognized as an internal or external command, inoperable program or batch file. I am running Windows XP, SP3 Professional
Can you help?
11-Nov-2008
The command is IPCONFIG. Probably, the âIâ got left left out by mistake.
Type? You meant ipconfig for a windows machine.
This is for Robert Solarski (and everyone else!) â
Youâve managed to catch Leo in a rare error: he mannaged to misspell the command. Itâs not âIPCONFGâ, but âIPCONFIGâ (a second âIâ belongs between the âFâ and the âGâ). Thatâs why youâre getting CMD.EXEâs equivalent of a â?SYNTAX ERRORâ.
Nyah nyah nyah, Leo! Shame on you! :) :) :)
12-Nov-2008
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 :) :=)
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!
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.
Another way to find the IP Address is to go to the Internet and type in http://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.
13-Nov-2008
how to configure the publicip to windows server 2003operating system with through lan and staticip
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
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!
http://findmyrouter.skahasoftware.com
Is the infor mation at find my router available to them or just to the pc owner?
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.
I am using vista,and have the same proplem.it opens then closes, cannot open new web site link
Stan
does ip address behave like binary number ?
@Koushal
The real IP number is a binary number. What you see is the decimal representation of that binary number. Each group of 3 digits represents a group of 8 binary digits from 00000000 to 11111111. 11111111 base 2 = 255 therefor the highest number in that group of 3 can only be 255.
hi,
ipconfig/all
but appears blank
no ip address
if i type ipconfig/renew
all i can see is the router ip address
pls help
30-Aug-2011
pls help
when i try to launch
specila force
it says:
gameguard error : 350
fail to connect the gameguard server.please try again after a while, or checked personal firewall settings if any.
pls somebody help me with this problem
I ran ipconfig (on XP) but the resulting info flashes on screen for maybe about 1/10th sec. so unreadable. Tried several times.
27-Dec-2011
respecet sir i want to know that how can i get an ip of a machine which is connected with my pc ? plzz sir inform me thanks
@Samrat
As mentioned above in the article, in the command prompt, type IPCONFIG
sir,
how can i establish a communication with an other device having ethernet port..?pls tellâŠ
06-Jan-2012
@uday
Maybe this article will help:
How should I set up my home network?
My laptop does not show any IP address. Tried cmd-ipconfig. Thanks.
Sir Leo, how can I view my friendâs IP address, we are in network (company), I know his username,example: cuteface â her username.. tnx a lot iâll be waiting for your reply..
@ELA
If you look at the header information in an email you get from that person, you can see the IP address where it was sent from.
How can I connect two my computers in different room without moving?
What is comment that I can connect two computers together?
I knew both ip addresses in two computers
Thanks,
Hai
hello sir someone is sending me some mails and i want to know that from which exact location they are sending me these mails and i have trakked the ip address so please tell me how to get there address
@Lokesh
Thereâs not much you can do to find that out
How do I figure out who owns an IP address?
I did a search to help me find out my ip address. Some were command prompt links , others âshow meâ links, so I kept getting two different addresses. Your article, succinct and easy for a newbie like me to understand, cleared it nicely for me. Iâve bookmarked your site and flagged it as âgo toâ. Thanks for the good job!
Hi! Is there any way to access any computers(files, folders etc. of that computers) that are connected to my wireless network via a router?