localhost and 127.0.0.1
I'm not a network guru. This is just my notes. I have to test
software running on web servers that run on my local machine. Here are some
notes.
General Information
 | If you have a web server loaded on your machine you should be able to
access the web servers home page, unless it has been customized with the
following: (all 3 ways are identical).
 | http://127.0.0.1 |
 | http://localhost |
 | http://<yourmachinename> |
|
Windows Configuration files
This info may help allow you to have access to
your local machine via DNS.
 |
c:\winnt\system32\drivers\etc\HOSTS - Add
an entry in this file.
127.0.0.1 localhost |
 |
If you're using socks servers:
 | IE - Tools, Internet Options, Connections, Lan Settings, Proxy
Server's Advanced tab. Add to the settings for "Don't use
proxy server for addresses beginning" with:
localhost;127.0.0.1; |
 | Netscape - Edit, Preferences, Advanced, Proxies, Manual Proxy
Configuration, Exceptions. Add to the settings:
localhost,127.0.0.1 |
|
 |
c:\winnt\socks.cnf - you may have to do something with this file. |
Web Servers
 | MS IIS
 | Default hostname & port: http://localhost:80 |
 | default root - c:\inetpub\wwwroot |
|
 | Apache
 | Default hostname & port: http://localhost:80 |
|
 | Tomcat
|
 | iPlanet
 | iWS Administration Server
|
 | Web Server
 | Default hostname & port: http://localhost:81 |
 | default root - C:/iPlanet/Servers/docs |
 | JRE Directory: C:/iPlanet/Servers/bin/https/jre |
|
 | Installation notes: http://docs.iplanet.com/docs/manuals/enterprise.html
|
|
|