wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Unable to get Client IP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Unable to get Client IP" Watch "Unable to get Client IP" New topic

Unable to get Client IP

C.P Sanchalanam

Joined: Aug 05, 2006
Posts: 15
We configured a Tomcat behind Apache web server and all HTTP & HTTPS requests are served by Tomcat via Apache web server. The issue is we are able to see client IP in apache logs but on the tomcat end it shows Apache web server IP as client IP. How to get the actual Client IP on the Tomcat side? I believe this can be achieved by some config changes on the Apache end. But not sure what needs to be changed here? any help would be appreciated.

C.P Sanchalanam

Joined: Aug 05, 2006
Posts: 15
Hello, I googled for some help on this and am unlucky so far. If anybody has any clue on how to achieve this please post it here.

Consider Paul's rocket mass heater.
subject: Unable to get Client IP
Similar Threads
MVC design pattern in the Client Server Architecture?
tomcat maxthread count and minspare thread count on tomcat 6.0
Clarifications on Java
Tomcat 6 and DNS Lookup
Is Tomcat an app server.