aspose file tools*
The moose likes Servlets and the fly likes Tracking Remote Public IP address Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tracking Remote Public IP address" Watch "Tracking Remote Public IP address" New topic
Author

Tracking Remote Public IP address

sarathchandra chandala
Greenhorn

Joined: Sep 06, 2007
Posts: 9
The requirement to track the remote client IP address in public domain, in order to authenticate the client locally, is not being met as when the Client Public IP is hitting the local firewall. As it passes through a load balancer(to which 2 servers are connected, In a LAN), The public IP address of the client request is being replaced by the private IP of the load balancer.

How can the original public IP address of the client be traced to use it for authentication purposes.
I am using getRemoteClient() function to obtain the remote client IP.
Is there any other way to get the original public address of the Client.

Thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tracking Remote Public IP address