Search

Top Posts

Comments

  • hadjime: Doesn’t work on me… i remove the file and then i open photo booth and it’s still wotking
  • John Doe: I’m having a bit of trouble trying to install fink, I know how to execute the command lines but I...
  • Slopjong: The same to me. It doesn’t work on 10.5.
  • Pascal (Former  IS&T France): It would be nice if the equalizzer could remember your prefered eq setting...
  • Pencil: Attention: Activating equalizer has serious impact on your battery lifetime!

Categories

Recent Posts


What is my IP Address? How do I get my IP Address in Mac OS X?

The quickest way to get your external IP address in Mac OS X is by launching the Terminal and typing the following command:

curl whatismyip.org

This will report back your IP address by pulling the result from WhatIsMyIP.org. Alternatively, you could view that site in your web browser and also get your external IP address, but that’s not as quick.

Posted by: William Pearson

Share

Save big on Mac Deals from Amazon.com

Comments:

Comments: 7

Comment from Dale
Time: December 8, 2009, 9:10 am

If you have the luxury of installing on the machine you are using, try the IP Widget. http://cip.physik.uni-bonn.de/~maahn/ip.html

Comment from Matt
Time: December 8, 2009, 10:23 am

Ha… It returned this result:

Banned

You have been banned from this page.
We’ve put measures in place to keep people from hitting our site at an unreasonable rate.
We ask that you only hit our site once per every 5 minutes to get your IP address.
Our system must’ve detected overuse by you and therefore banned you.
Are you running an automated script to get your IP?
Once we figure out what caused the ban and get that fixed, we’ll unban you.
Send questions to banned2 at whatismyip dot com.

Please set your code to scrape your IP from http://www.whatismyip.com/automation/n09230945.asp

Comment from marc
Time: December 8, 2009, 6:31 pm

feh… it is not reporting *your* ip address, it is reporting the address used to access the site which may be that of a proxy, a router, or some other NAT device. Depending upon your network setup it could be the address of some device at your isp.

If you want to see what addresses are actually in use by your machine and have a terminal window open use this pipeline:

ifconfig | grep inet

which will get you both ip (inet) and ipv6 (inet6) addresses that are in use by your machine. I have two interfaces in use on my machine and use inet6 in addition to inet. My addresses are:

inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0×1
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::21e:c2ff:fe15:f0f6%en0 prefixlen 64 scopeid 0×4
inet6 2001:5a8:4:910:21e:c2ff:fe15:f0f6 prefixlen 64 autoconf
inet 208.201.244.209 netmask 0xffffff00 broadcast 208.201.244.255
inet6 fe80::21e:c2ff:fea3:2733%en1 prefixlen 64 scopeid 0×6
inet 192.168.168.1 netmask 0xffffff00 broadcast 192.168.168.255
inet6 2001:5a8:4:911:21e:c2ff:fea3:2733 prefixlen 64 autoconf

::1 and 127.0.0.1 are loopback addresses used by all machines.
fe80:… are internal ipv6 addresses

Comment from Imulus
Time: December 9, 2009, 4:05 pm

You could also visit a browser support website such as Support Details (http://supportdetails.com). You can even send your system details to someone else directly within the interface.

Comment from Adi
Time: December 13, 2009, 10:13 pm

or just use whatsmyip.net

Comment from Carney
Time: January 12, 2010, 1:13 pm

I must say i started loving your blog, so here you got my first comment. i”ll keep bugging you. hope you won’t mind

Comment from tejji
Time: January 30, 2010, 9:29 am

and the simple way is here – what is my ip address

Write a comment






December 8th, 2009