The hostname "localhost" is actually an alias which always refers to the local computer (local host). No matter where you access localhost, you'll be accessing the curent machine you're using at the time. 127.0.0.1 is the IP alias for localhost - they all mean the same thing.
What you will need to access your machine from elsewhere is an external IP (preferably static) that was assigned either by your router (to access your computer from other sites within your network) or by your ISP.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
Online 13,646 posts
since Feb 2002