Getting Remote Addr in XPages

I am trying to capture the remote IP address when a browser views an XPage. This IP is used to look up information for purposes of supplying specific information based on the IP address.

I have tried following the guide at: http://www-10.lotus.com/ldd/ddwiki.nsf/dx/xpages-cgi-variables.htm

I am not successful in grabbing the IP address.

Is there another way to access the Remote Address of a client, or any other CGI variable?

Subject: Perhaps it’s this bug

SPR # PCHE883SA2

Fixed in release:

8.5.3

Product Area: Server Technical Area: XPages Platform: Cross Platform

Lotus Customer Support APAR: LO53901 What is an APAR?

SPR# PCHE883SA2 - Fixed truncation of client ip address when an XPage application asks for the REMOTE_ADDR cgi variable on windows 2008 running 64 bit Domino Server.

Subject: not just Windows 64bit

I am seeing this IP truncation problem with a linux server and windows 32bit and 64 bit client

Subject: This is fxed in 8.5.2FP2 I think. Open a PMR to get a hotfix for earlier versions.

Subject: workaround?

Is there a way to work around this issue, like opening a notes document the old way, or using another method? I would need to program a temporary fix until the server can be upgraded/fixed.