First, nothing should ever be run as localhost, especially in production. More importantly, this has nothing to do with IIS. If your system cannot resolve the name "localhost" to an IP address that IIS will answer on, then using "localhpost" will never work for you. It's a basic name resolution issue.
Jeff
Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at
Amazon.com