Skip to Content

Retrieving Client IP or Name


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

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

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

Thank you,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 04, 2012 at 10:00 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.