Details
-
Bug
-
Resolution: Fixed
-
Medium
-
0.3.3
-
None
-
Windows XP
Description
When the default server is configured during setup, 127.0.0.1 is not added, but localhost is. Per the Java documentation,
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletRequest.html#getRemoteHost()
Returns the fully qualified name of the client that sent the request. If the engine cannot or chooses not to resolve the hostname (to improve performance), this method returns the dotted-string form of the IP address. For HTTP servlets, same as the value of the CGI variable REMOTE_HOST.
The hostnames are not always returning the same. The host and IP address need to be added rather than just the host because the IP lookup can not always be assured. This is only happening on Windows.