to get IP address of client machine.
We have tried using the following code in Webdynpro for Java
import com.sap.tc.webdynpro.services.sal.adapter.api.WDProtocolAdapter; String ipAddress = WDProtocolAdapter .getProtocolAdapter() .getRequestObject() .getClientHostAddress();
The above code is working on the Dev and Quality environment and gives IP address of client machine sucessfully.
But when we try the same task using the same code on Production server it gives IP address of production server itself.
I think it is because of reverse proxy setting for exposing our portal on internet, which is not there on dev and Quality.
If any one has any solution for this problem please reply as early as possible.