https://bz.apache.org/bugzilla/show_bug.cgi?id=59868

            Bug ID: 59868
           Summary: Manager's output of host name and IP address are
                    misleading
           Product: Tomcat 8
           Version: 8.5.4
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Manager
          Assignee: dev@tomcat.apache.org
          Reporter: 1983-01...@gmx.net

I have configured my Connector to listen to address="127.0.0.1" only. Single
hostname for this is "localhost". Though, the HTMLManager displays in Server
Information my regular host name and the IP address of the second NIC
(VirtualBox Host-Only Adapter).

Code:
        try {
            InetAddress address = InetAddress.getLocalHost();
            args[6] = address.getHostName();
            args[7] = address.getHostAddress();
        } catch (UnknownHostException e) {
            args[6] = "-";
            args[7] = "-";
        }

I would expect to display the information this Connector and Host is accepting,
remove this information altogether or document that this information does not
reflect configuration (docs/html-manager-howto.html#Server_Information).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to