I would like to know if there is a way to make the JMX agent return IP address rather than return machine name during agent look up (ie) the look up for the agent name is done by jmx:XYZ:rmi . I have subclassed the RMAdaptor to have XYZ instead of machine name. But I noticed that at some point during the look up of the agent , the Marshalled obejct returns the machine name (ie) http://<machine name>:8083. My agent is running on LINUX machine. It is not on the domain so hence can be seen only through IP address ( not by name). Is there any way to make the agent return the IP address rather than the name.