https://issues.apache.org/bugzilla/show_bug.cgi?id=46082
Summary: AJP HttpServletRequest.getLocalAddr() returns null when using the AJP Connector Product: Tomcat 6 Version: 6.0.14 Platform: PC OS/Version: Windows XP Status: NEW Severity: blocker Priority: P1 Component: Connectors AssignedTo: dev@tomcat.apache.org ReportedBy: [EMAIL PROTECTED] I saw this problem in serveral different installations... using mod_jk as well as mod_proxy... Currently I am analysing an installation with an apache 1.3.41 using mod_jk (1.2.23). request.getLocalAddr() returns null... request.getLocalPort() returns 447 447 is the used apache https port. The ServletSpec is not very concrete how to answer this... but returning null is a bug definitly... Solution Approaches 1.) Idealy getLocalAddr() should return the IP Address of the network interface used to reach apache... 2.) From my point of view it would be also ok, when returning IP and Port(!!!!) over which the AJP connector have been reached... 3.) If both is not possible it would be great to have an additional configuration setting for the AJP connector.. eg request.LocalAddr and request.LocalPort... This shuld be easy to implement. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]