It's worth mentioning also that there is a *big* difference between file:// and
http:// if you are doing web development.
When you use file:// the OS is using the filesystem to display the pages, not the web server. Even if you have apache running, it will *not* process the files.
Usually, this is not a problem, unless you do perl or php development (or anything else that requires the server to do some work).
For those, you need to use the
http:// method to get to the pages to test them properly. For the paranoid at heart, that doesn't mean you have to open yourself up to outside sharing, if fact, you don't even need to be on a network to do it.
When you type
http://127.0.0.1 or
http://localhost it will connect using the loopback IP interface, and not even touch the ethernet card, but it *will* be processed by the web server running on your local machine.