Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-126

Default 'localhost' configuration not added valid IP address of 127.0.0.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 0.4
    • 0.3.3
    • Installation/Setup
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            justin@atlassian.com Justin Koke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: