This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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 Introducing JavaFX 8 Programming this week in the JavaFX 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
 
It's not a secret anymore!