cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieving Client IP or Name

former_member1170711
Participant

Hello,

We need to be able to get the client computer's name or at least the IP address.

The access servlet's "machine" property (which appears to be the way to do this) always returns 127.0.0.1.

We tried to work around this by writing a JSP and using the request.getRemoteAddr() function.  That also returns 127.0.0.1

Any ideas on how I can overcome this?  We are running MII 12.2 SP2.

Thank you,

Mike

Accepted Solutions (0)

Answers (1)

Answers (1)

jcgood25
Active Contributor
0 Kudos

If your http URL reads localhost then I would expect this to be accurate.  I tried an SP2 system here, and see the same IP address I get in an ipconfig cmd window when I run /XMII/PropertyAccessServlet?Mode=List

I would assume that putting {Machine} in an IRPT page would give the same number as what I see listed in the property access servlet.