java - Where can I find the Apache httpd server IP from within a Tomcat Valve, when AJP was used? -


i working on updating tomcat valve. want add check see if caller coming localhost/127.0.0.1, case if apache httpd acts frontend webserver on same machine. added check ip address request.getremoteaddr(). unfortunately, method returns ip address of client, not of apache httpd. current example code can found here.

i have been searching through request objects org.apache.coyote.request , org.apache.catalina.connector.request, not find method or object return info original ajp call.

so question is: possible ip address of server ajp call?


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -