BASE Logic, Inc.

Friday, February 3, 2012

BASE Logic, Inc.

BASE Logic, Inc.

Link to BASE Logic, Inc.

Tomcat 6 connector option enableLookups not defaulting to true

Posted: 02 Feb 2012 11:26 AM PST

TweetI have been working on an issue where HttpServletRequest.getHostName() always return the IP address, instead of the host name. The Tomcat 6 documentation states enableLookups is set to true by default. enableLookups Set to true if you want calls to request.getRemoteHost() to perform DNS lookups in order to return the actual host name of the remote client. [...]

No comments: