ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   Dumb question, I think: IP address
Date:   2002-01-07 10:13:22
From:   ngb
Response to: Dumb question, I think: IP address

The easiest way I've found is to point your browser at http://checkip.dyndns.org and it will return the current IP address and hostname of your router.


You can then write shell script to regularly poll for your IP address and save it on your iDisk or ftp it somewhere else. Direct people to your iDisk web site and it will refer them your desktop machine behind the router.


More details are here:
http://www.macosxhints.com/article.php?story=20011114214229220