0 Replies Latest reply on Dec 20, 2006 11:44 AM by gustavosoares

    How do I find the browser client address behind a load balan

    gustavosoares

      Hi all!

      I would like to know if it is possible to find out the client ip address behind a load balancer. In weblogic there is a configuration that when request.getRemoteAddr() is sent, the browser client address is returned instead of the load balancer VIP address. I don´t know if there is anything similar in Tomcat.

      For instance:

      A (10.10.2.1) connects to a load balancer B (192.168.1.3) and then the load balancer foward the request to a application server C. If the method getRemoteAddr() is issued on C, the ip address returned would be 192.168.1.3. I need to get the ip address from A. Is it possible?

      Regards,
      Gustavo